# HG changeset patch # User Christian Ebert # Date 2010-10-01 00:13:31 # Node ID aa4a6e3ed0c9d080626b97bc2164d82aa90b0333 # Parent 415ab891172474b6312bc0536a80bb52fc60658a keyword: use workingctx to detect modified and added files after rollback diff --git a/hgext/keyword.py b/hgext/keyword.py --- a/hgext/keyword.py +++ b/hgext/keyword.py @@ -514,7 +514,7 @@ def reposetup(ui, repo): ret = super(kwrepo, self).rollback(dryrun) if not dryrun: ctx = self['.'] - modified, added = super(kwrepo, self).status()[:2] + modified, added = self[None].status()[:2] kwt.overwrite(ctx, added, True, False, changed) kwt.overwrite(ctx, modified, True, True, changed) return ret