diff -r ef62c66bee1b -r 1d7a2422b90c mercurial/exchange.py --- a/mercurial/exchange.py Fri Sep 26 13:56:20 2014 -0700 +++ b/mercurial/exchange.py Thu Oct 02 13:19:49 2014 -0500 @@ -489,6 +489,8 @@ pushop.ui.status(_("updating bookmark %s\n") % book) else: pushop.ui.warn(_('updating bookmark %s failed!\n') % book) + if pushop.bkresult is not None: + pushop.bkresult = 1 return handlereply