Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.4rc3, 0.4rc4, and 0.4

hgtk: fix traceback when running in non-repo directories

Changeset 085868e85476

Parent 6409f7d79f8a

by TK Soh

Changes to one file · Browse files at 085868e85476 Showing diff from parent 6409f7d79f8a Diff from another changeset...

Change 1 of 1 Show Entire File contrib/​hgtk Stacked
 
68
69
70
71
 
72
73
74
 
68
69
70
 
71
72
73
74
@@ -68,7 +68,7 @@
  root = hglib.rootpath(cwd)   opts = { 'root' : root, 'cwd' : cwd }   - if root is None and command not in nonrepo_commands: + if not root and command not in nonrepo_commands:   print 'No repository found, and', command, 'requires one.'   sys.exit(1)