hgkw/keyword.py
changeset 747 25235530940d
parent 745 a72c2895fc26
child 749 9f46c562c4b5
--- a/hgkw/keyword.py	Sun May 02 22:39:43 2010 +0200
+++ b/hgkw/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: