mercurial/bundle2.py
changeset 49766 f1887500f3ec
parent 49764 4188e75af983
child 50311 385a4f8056e5
equal deleted inserted replaced
49765:152d9c011bcd 49766:f1887500f3ec
   515         for part in parts:
   515         for part in parts:
   516             _processpart(op, part)
   516             _processpart(op, part)
   517 
   517 
   518 
   518 
   519 def _processchangegroup(op, cg, tr, source, url, **kwargs):
   519 def _processchangegroup(op, cg, tr, source, url, **kwargs):
       
   520     if op.remote is not None and op.remote.path is not None:
       
   521         remote_path = op.remote.path
       
   522         kwargs = kwargs.copy()
       
   523         kwargs['delta_base_reuse_policy'] = remote_path.delta_reuse_policy
   520     ret = cg.apply(op.repo, tr, source, url, **kwargs)
   524     ret = cg.apply(op.repo, tr, source, url, **kwargs)
   521     op.records.add(
   525     op.records.add(
   522         b'changegroup',
   526         b'changegroup',
   523         {
   527         {
   524             b'return': ret,
   528             b'return': ret,