(stable) merge stable
authorChristian Ebert <blacktrash@gmx.net>
Wed, 05 May 2010 17:16:00 +0200
branchstable
changeset 748 eb7991ee81dd
parent 746 72a272f1f756 (current diff)
parent 747 25235530940d (diff)
child 750 1124280b445c
(stable) merge
--- 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: