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

thgshelve: pconvert paths from diff headers

diff headers will have '\' on windows while status uses '/'

Changeset 5b32caf33fd4

Parent dfd589b76451

by Steve Borho

Changes to one file · Browse files at 5b32caf33fd4 Showing diff from parent dfd589b76451 Diff from another changeset...

 
9
10
11
 
 
12
13
14
 
153
154
155
156
 
157
158
159
 
9
10
11
12
13
14
15
16
 
155
156
157
 
158
159
160
161
@@ -9,6 +9,8 @@
 import os  import gtk   +from mercurial import util +  from thgutil.i18n import _  from thgutil import hglib   @@ -153,7 +155,7 @@
  def filter_patch(ui, chunks):   accepted = []   for chunk in chunks: - file = chunk.files()[0] + file = util.pconvert(chunk.files()[0])   if file not in wfiles:   # file was not selected for inclusion   continue