Show More
@@ -181,7 +181,8 b' def strip(ui, repo, nodelist, backup=Tru' | |||||
181 |
|
181 | |||
182 | for i in xrange(offset, len(tr.entries)): |
|
182 | for i in xrange(offset, len(tr.entries)): | |
183 | file, troffset, ignore = tr.entries[i] |
|
183 | file, troffset, ignore = tr.entries[i] | |
184 |
repo.svfs(file, 'a') |
|
184 | with repo.svfs(file, 'a', checkambig=True) as fp: | |
|
185 | fp.truncate(troffset) | |||
185 | if troffset == 0: |
|
186 | if troffset == 0: | |
186 | repo.store.markremoved(file) |
|
187 | repo.store.markremoved(file) | |
187 |
|
188 |
General Comments 0
You need to be logged in to leave comments.
Login now