Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8.1, 0.8.2, and 0.8.3

hgtk: do not allow fork if '--repository' argument given

I tried to do this in a cleaner way, but it required too much carnage
for the stable branch. I'll clean this up on crew.

Refs #368

Changeset 6688846c36d9

Parent 73cfa111c0cd

by Steve Borho

Changes to one file · Browse files at 6688846c36d9 Showing diff from parent 73cfa111c0cd Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​hgtk.py Stacked
 
66
67
68
 
 
69
70
71
 
66
67
68
69
70
71
72
73
@@ -66,6 +66,8 @@
 def portable_fork():   if 'THG_HGTK_SPAWN' in os.environ or '--nofork' in sys.argv:   return + if '--repository' in sys.argv or '-R' in sys.argv: + return   # Spawn background process and exit   if hasattr(sys, "frozen"):   args = sys.argv