mercurial/changegroup.py
changeset 20966 63659b809021
parent 20942 3737e653dcbe
child 20976 c20f4898631e
equal deleted inserted replaced
20965:774ff56cbe34 20966:63659b809021
   675                       node=hex(cl.node(clstart)), source=srctype,
   675                       node=hex(cl.node(clstart)), source=srctype,
   676                       url=url, pending=p)
   676                       url=url, pending=p)
   677 
   677 
   678         added = [cl.node(r) for r in xrange(clstart, clend)]
   678         added = [cl.node(r) for r in xrange(clstart, clend)]
   679         publishing = repo.ui.configbool('phases', 'publish', True)
   679         publishing = repo.ui.configbool('phases', 'publish', True)
   680         if srctype == 'push':
   680         if srctype in ('push', 'serve'):
   681             # Old servers can not push the boundary themselves.
   681             # Old servers can not push the boundary themselves.
   682             # New servers won't push the boundary if changeset already
   682             # New servers won't push the boundary if changeset already
   683             # exists locally as secret
   683             # exists locally as secret
   684             #
   684             #
   685             # We should not use added here but the list of all change in
   685             # We should not use added here but the list of all change in