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

stable hgtk: do not canonify paths when not in a repo

Fixes #475

Changeset c356322db3b7

Parent f0be2392f18a

by Steve Borho

Changes to one file · Browse files at c356322db3b7 Showing diff from parent f0be2392f18a Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​hgtk.py Stacked
 
96
97
98
99
 
 
 
100
101
102
 
96
97
98
 
99
100
101
102
103
104
@@ -96,7 +96,9 @@
    # Convert absolute file paths to repo/cwd canonical   cwd = os.getcwd() - root = paths.find_root() + root = paths.find_root(cwd) + if not root: + return lines   if cwd == root:   cwd_rel = ''   else: