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

hgtk: fix indexing errors in nofork hack

Changeset 1cd196c6b23c

Parent d65adf260359

by Steve Borho

Changes to one file · Browse files at 1cd196c6b23c Showing diff from parent d65adf260359 Diff from another changeset...

Change 1 of 1 Show Entire File hgtk Stacked
 
29
30
31
32
 
33
34
35
 
29
30
31
 
32
33
34
35
@@ -29,7 +29,7 @@
   nofork = 'version help' # simple interactive commands should not fork  for i, arg in enumerate(sys.argv): - if 'hgtk' in arg and len(sys.argv) >= i: + if 'hgtk' in arg and len(sys.argv) > i+1:   cmd = sys.argv[i+1]   break  else: