##// END OF EJS Templates
push: move `commonheads` into the push object...
Pierre-Yves David -
r20467:ef880ced default
parent child Browse files
Show More
@@ -48,6 +48,8 b' class pushoperation(object):'
48 48 self.remoteheads = None
49 49 # testable as a boolean indicating if any nodes are missing locally.
50 50 self.incoming = None
51 # set of all heads common after changeset bundle push
52 self.commonheads = None
51 53
52 54 def push(repo, remote, force=False, revs=None, newbranch=False):
53 55 '''Push outgoing changesets (limited by revs) from a local
@@ -238,6 +240,7 b' def _pushsyncphase(pushop):'
238 240 pushop.outgoing.commonheads,
239 241 pushop.outgoing.missing)
240 242 cheads.extend(c.node() for c in revset)
243 pushop.commonheads = cheads
241 244 # even when we don't push, exchanging phase data is useful
242 245 remotephases = pushop.remote.listkeys('phases')
243 246 if (pushop.ui.configbool('ui', '_usedassubrepo', False)
General Comments 0
You need to be logged in to leave comments. Login now