mercurial/changegroup.py
changeset 51703 ca7bde5dbafb
parent 51700 7f0cb9ee0534
child 51783 acc2d0f08fc9
equal deleted inserted replaced
51702:b0a4de6c14f8 51703:ca7bde5dbafb
   405                     break
   405                     break
   406                 noentries = False
   406                 noentries = False
   407                 yield chunkheader(len(chunk))
   407                 yield chunkheader(len(chunk))
   408                 pos = 0
   408                 pos = 0
   409                 while pos < len(chunk):
   409                 while pos < len(chunk):
   410                     next = pos + 2 ** 20
   410                     next = pos + 2**20
   411                     yield chunk[pos:next]
   411                     yield chunk[pos:next]
   412                     pos = next
   412                     pos = next
   413             yield closechunk()
   413             yield closechunk()
   414 
   414 
   415     def _unpackmanifests(
   415     def _unpackmanifests(