mercurial/changegroup.py
changeset 25624 f0745da75056
parent 25574 88a17ccf0196
child 25660 328739ea70c3
equal deleted inserted replaced
25623:0bee97fa1fa8 25624:f0745da75056
   818                 hookargs = dict(tr.hookargs)
   818                 hookargs = dict(tr.hookargs)
   819                 hookargs['node'] = hex(cl.node(clstart))
   819                 hookargs['node'] = hex(cl.node(clstart))
   820             repo.hook('pretxnchangegroup', throw=True, pending=p, **hookargs)
   820             repo.hook('pretxnchangegroup', throw=True, pending=p, **hookargs)
   821 
   821 
   822         added = [cl.node(r) for r in xrange(clstart, clend)]
   822         added = [cl.node(r) for r in xrange(clstart, clend)]
   823         publishing = repo.ui.configbool('phases', 'publish', True)
   823         publishing = repo.publishing()
   824         if srctype in ('push', 'serve'):
   824         if srctype in ('push', 'serve'):
   825             # Old servers can not push the boundary themselves.
   825             # Old servers can not push the boundary themselves.
   826             # New servers won't push the boundary if changeset already
   826             # New servers won't push the boundary if changeset already
   827             # exists locally as secret
   827             # exists locally as secret
   828             #
   828             #