Mercurial > hg
comparison mercurial/changegroup.py @ 51690:493034cc3265
black: format the codebase with 23.3.0
The CI has moved to 23.3.0, which is the last version that supports 3.7
at runtime, so we should honor this change.
# skip-blame mass-reformating only
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 18 Jul 2024 12:36:12 +0200 |
parents | a0d88b021a98 |
children | 7f0cb9ee0534 |
comparison
equal
deleted
inserted
replaced
51689:39e2b2d062c1 | 51690:493034cc3265 |
---|---|
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( |