branch | stable |
changeset 16023 | 90f8b8dd0326 |
parent 16022 | 04604d1a9fc3 |
child 16024 | 7c967c4a6144 |
--- a/mercurial/commands.py Mon Jan 30 11:26:20 2012 -0600 +++ b/mercurial/commands.py Mon Jan 30 11:32:09 2012 -0600 @@ -4426,7 +4426,7 @@ result = repo.push(other, opts.get('force'), revs=revs, newbranch=opts.get('new_branch')) - result = (result == 0) + result = not result if opts.get('bookmark'): rb = other.listkeys('bookmarks')