--- 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)