Submitter | Pierre-Yves David |
---|---|
Date | Aug. 18, 2014, 9:50 p.m. |
Message ID | <dd73a65361e07db6abce.1408398604@marginatus.alto.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/5475/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/exchange.py b/mercurial/exchange.py --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -611,10 +611,12 @@ def _pushobsolete(pushop): msg = _('failed to push some obsolete markers!\n') repo.ui.warn(msg) def _pushbookmark(pushop): """Update bookmark position on remote""" + if pushop.ret == 0: + return ui = pushop.ui repo = pushop.repo.unfiltered() remote = pushop.remote ui.debug("checking for updated bookmarks\n") ancestors = ()