push: set bkresult when pushing bookmarks through bundle2
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 02 Oct 2014 13:19:49 -0500
changeset 22649 1d7a2422b90c
parent 22648 ef62c66bee1b
child 22650 36952c91e6c3
push: set bkresult when pushing bookmarks through bundle2
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