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 traceback when in .hg/

cpath does not have a valid value on Abort

Changeset 7c0107ab6dc3

Parent 28a73156ea29

by Simon Heimberg

Changes to one file · Browse files at 7c0107ab6dc3 Showing diff from parent 28a73156ea29 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​hgtk.py Stacked
 
81
82
83
84
 
85
86
87
 
81
82
83
 
84
85
86
87
@@ -81,7 +81,7 @@
  cpath = util.canonpath(root, cwd, f)   # canonpath will abort on .hg/ paths   except util.Abort: - pass + continue   if cpath.startswith(cwd_rel):   cpath = cpath[len(cwd_rel):]   files.append(cpath)