Mercurial > hg
diff mercurial/localrepo.py @ 22616:cda85cfc8252
push: `exchange.push` now returns the `pushoperation` object
Returning the pushop object gives access to more information (upcoming bookmark
push result for example). `localrepo.push` currently extracts the `cgresult` for
callers.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 25 Sep 2014 02:21:59 -0700 |
parents | e6e7ef68c879 |
children | 4d52e6eb98ea |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Sep 25 00:55:39 2014 -0700 +++ b/mercurial/localrepo.py Thu Sep 25 02:21:59 2014 -0700 @@ -1592,7 +1592,7 @@ return util.hooks() def push(self, remote, force=False, revs=None, newbranch=False): - return exchange.push(self, remote, force, revs, newbranch) + return exchange.push(self, remote, force, revs, newbranch).cgresult def stream_in(self, remote, requirements): lock = self.lock()