diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -4448,6 +4448,7 @@ def push(ui, repo, dest=None, **opts): ui.warn(_('updating bookmark %s failed!\n') % b) if not result: result = 2 + result = 0 return result