Mercurial > hg-stable
changeset 22649:1d7a2422b90c
push: set bkresult when pushing bookmarks through bundle2
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 02 Oct 2014 13:19:49 -0500 |
parents | ef62c66bee1b |
children | 36952c91e6c3 |
files | mercurial/exchange.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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