mercurial/commands.py
changeset 12964 34034e55424f
parent 12925 6eab8f0df2ca
child 12968 609edbc7853f
--- a/mercurial/commands.py	Wed Nov 10 15:44:19 2010 +0100
+++ b/mercurial/commands.py	Thu Nov 11 00:08:09 2010 +0100
@@ -1120,7 +1120,7 @@
         key, old, new = keyinfo
         r = target.pushkey(namespace, key, old, new)
         ui.status(str(r) + '\n')
-        return not(r)
+        return not r
     else:
         for k, v in target.listkeys(namespace).iteritems():
             ui.write("%s\t%s\n" % (k.encode('string-escape'),