Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/revlogutils/deltas.py @ 51762:ca7bde5dbafb
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 | 7f0cb9ee0534 |
children | 278af66e6595 |
comparison
equal
deleted
inserted
replaced
51761:b0a4de6c14f8 | 51762:ca7bde5dbafb |
---|---|
426 selected.sort() | 426 selected.sort() |
427 | 427 |
428 # Cut the revs at collected indices | 428 # Cut the revs at collected indices |
429 previdx = 0 | 429 previdx = 0 |
430 for idx in selected: | 430 for idx in selected: |
431 | |
432 chunk = _trimchunk(revlog, revs, previdx, idx) | 431 chunk = _trimchunk(revlog, revs, previdx, idx) |
433 if chunk: | 432 if chunk: |
434 yield chunk | 433 yield chunk |
435 | 434 |
436 previdx = idx | 435 previdx = idx |