branch | stable |
changeset 748 | eb7991ee81dd |
parent 747 | 25235530940d |
child 749 | 9f46c562c4b5 |
--- a/hgkw/keyword.py Tue May 04 01:15:34 2010 +0200 +++ b/hgkw/keyword.py Wed May 05 17:16:00 2010 +0200 @@ -502,8 +502,7 @@ # therefore compare nodes before and after ctx = repo['.'] ret = orig(ui, repo, commitfunc, *pats, **opts) - recctx = repo['.'] - if ctx != recctx: + if ctx != repo['.']: kwt.overwrite('.', True, None) return ret finally: