diff -r 98cbd41cb532 -r a3dc2d385490 mercurial/exchange.py --- a/mercurial/exchange.py Fri Aug 15 17:58:15 2014 -0700 +++ b/mercurial/exchange.py Fri Aug 15 18:26:21 2014 -0700 @@ -613,6 +613,8 @@ def _pushbookmark(pushop): """Update bookmark position on remote""" + if pushop.ret == 0: + return ui = pushop.ui repo = pushop.repo.unfiltered() remote = pushop.remote