Show More
@@ -216,9 +216,8 b' def strip(ui, repo, nodelist, backup=Tru' | |||||
216 | for m in updatebm: |
|
216 | for m in updatebm: | |
217 | bm[m] = repo[newbmtarget].node() |
|
217 | bm[m] = repo[newbmtarget].node() | |
218 |
|
218 | |||
219 |
with repo. |
|
219 | with repo.transaction('repair') as tr: | |
220 | with repo.transaction('repair') as tr: |
|
220 | bm.recordchange(tr) | |
221 | bm.recordchange(tr) |
|
|||
222 |
|
221 | |||
223 | # remove undo files |
|
222 | # remove undo files | |
224 | for undovfs, undofile in repo.undofiles(): |
|
223 | for undovfs, undofile in repo.undofiles(): |
General Comments 0
You need to be logged in to leave comments.
Login now