mercurial/bundle2.py
changeset 49067 bde2e4ef968a
parent 49037 642e31cb55f0
parent 48821 d9ed7c5e915d
child 49341 290c29df1915
equal deleted inserted replaced
49066:8d7eaff92f9c 49067:bde2e4ef968a
  2525 
  2525 
  2526 
  2526 
  2527 @parthandler(b'stream2', (b'requirements', b'filecount', b'bytecount'))
  2527 @parthandler(b'stream2', (b'requirements', b'filecount', b'bytecount'))
  2528 def handlestreamv2bundle(op, part):
  2528 def handlestreamv2bundle(op, part):
  2529 
  2529 
  2530     requirements = urlreq.unquote(part.params[b'requirements']).split(b',')
  2530     requirements = urlreq.unquote(part.params[b'requirements'])
       
  2531     requirements = requirements.split(b',') if requirements else []
  2531     filecount = int(part.params[b'filecount'])
  2532     filecount = int(part.params[b'filecount'])
  2532     bytecount = int(part.params[b'bytecount'])
  2533     bytecount = int(part.params[b'bytecount'])
  2533 
  2534 
  2534     repo = op.repo
  2535     repo = op.repo
  2535     if len(repo):
  2536     if len(repo):