Commits

anatoly techtonik committed f8630ed

fix svn_targets referenced before the assignment error

  • Participants
  • Parent commits 77e6539

Comments (0)

Files changed (1)

File hgsvn/run/hgpullsvn.py

 
     if options.svn_peg:
         wc_url += "@" + str(options.svn_peg)
-                          
+
+    svn_targets = options.svn_targets
     if options.svn_targets:
-        svn_targets = options.svn_targets
         if not os.path.exists(svn_targets):
            ui.status("Targets file doesn't exist %s" % svn_targets, level=ui.ERROR)
            return