hgext/strip.py
changeset 26748 5ba0a99ff27f
parent 26624 bcace0fbb4c8
child 26972 4b0c3df5d635
--- a/hgext/strip.py	Sat Oct 17 01:15:34 2015 +0900
+++ b/hgext/strip.py	Sat Oct 17 01:15:34 2015 +0900
@@ -58,7 +58,7 @@
                 and p2 in [x.node for x in repo.mq.applied]):
                 urev = p2
             hg.clean(repo, urev)
-            repo.dirstate.write()
+            repo.dirstate.write(repo.currenttransaction())
 
         repair.strip(ui, repo, revs, backup)
 
@@ -205,7 +205,7 @@
             changedfiles.extend(dirchanges)
 
             repo.dirstate.rebuild(urev, uctx.manifest(), changedfiles)
-            repo.dirstate.write()
+            repo.dirstate.write(repo.currenttransaction())
 
             # clear resolve state
             ms = merge.mergestate(repo)