Comments
Patch
@@ -23,10 +23,11 @@ class pushoperation(object):
self.revs = revs
self.newbranch = newbranch
self._outgoing = None # discovery.outgoing object
self._remoteheads = None # know remote head before the push
+ self._commonheads = None # common head after push
self._ret = None # push operation return
def perform(self):
'''Push outgoing changesets (limited by revs) from the current
@@ -64,11 +65,11 @@ class pushoperation(object):
scmutil.nochangesfound(unfi.ui, unfi,
self._outgoing.excluded)
else:
self._ret = self._pushbundle()
- heads = self._findcommonheads()
+ self._commonheads = cheads = self._findcommonheads()
# even when we don't push, exchanging phase data is useful
remotephases = remote.listkeys('phases')
if (repo.ui.configbool('ui', '_usedassubrepo', False)
and remotephases # server supports phases