hgext/keyword.py
changeset 11096 871088c223ec
parent 11087 dc2f37864348
child 11168 6d0d945f9e52
--- a/hgext/keyword.py	Wed May 05 09:25:09 2010 +0200
+++ b/hgext/keyword.py	Wed May 05 14:02:45 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: