diff -r e80128e40c04 -r 34034e55424f mercurial/commands.py --- 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'),