changeset 22624:eef31f9a4c0f

push: add `pushoperation.bkresult` This attribute will be used to carry the result of the bookmark push (when the `push` function will effectively be doing any bookmarks pushes)
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 25 Sep 2014 00:57:36 -0700
parents cd7e17aa6040
children 62ab9ca90b36
files mercurial/exchange.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/exchange.py	Thu Sep 25 01:49:20 2014 -0700
+++ b/mercurial/exchange.py	Thu Sep 25 00:57:36 2014 -0700
@@ -88,6 +88,8 @@
         #   we have outgoing changesets but refused to push
         # - other values as described by addchangegroup()
         self.cgresult = None
+        # Boolean value for the bookmark push
+        self.bkresult = None
         # discover.outgoing object (contains common and outgoing data)
         self.outgoing = None
         # all remote heads before the push