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

changeset: fix the way to strip the path prefix

Changeset 897f07d5514f

Parent db36d1f7e96a

by Yuki KODAMA

Changes to one file · Browse files at 897f07d5514f Showing diff from parent db36d1f7e96a Diff from another changeset...

 
142
143
144
 
 
145
146
147
 
142
143
144
145
146
147
148
149
@@ -142,6 +142,8 @@
  try:   def get_path(a, b):   rawpath = b != '/dev/null' and b or a + if not rawpath.startswith(('a/', 'b/')): + return rawpath   return rawpath.split('/', 1)[-1]   hunks = []   map = {'MODIFY': 'M', 'ADD': 'A', 'DELETE': 'R',