--- a/hgext/keyword.py Sun Oct 04 11:34:28 2015 -0700
+++ b/hgext/keyword.py Sun Oct 04 21:33:29 2015 +0900
@@ -623,6 +623,7 @@
def rollback(self, dryrun=False, force=False):
wlock = self.wlock()
+ origrestrict = kwt.restrict
try:
if not dryrun:
changed = self['.'].files()
@@ -630,10 +631,12 @@
if not dryrun:
ctx = self['.']
modified, added = _preselect(ctx.status(), changed)
+ kwt.restrict = False
kwt.overwrite(ctx, modified, True, True)
kwt.overwrite(ctx, added, True, False)
return ret
finally:
+ kwt.restrict = origrestrict
wlock.release()
# monkeypatches