diff -r 35d4c2124073 -r 2afee2176775 mercurial/revlogutils/deltas.py --- a/mercurial/revlogutils/deltas.py Mon Oct 17 22:19:43 2022 +0200 +++ b/mercurial/revlogutils/deltas.py Sun Nov 06 13:46:08 2022 -0500 @@ -655,7 +655,13 @@ LIMIT_BASE2TEXT = 500 -def _candidategroups(revlog, textlen, p1, p2, cachedelta): +def _candidategroups( + revlog, + textlen, + p1, + p2, + cachedelta, +): """Provides group of revision to be tested as delta base This top level function focus on emitting groups with unique and worthwhile @@ -1169,7 +1175,11 @@ self._write_debug(msg) groups = _candidategroups( - self.revlog, revinfo.textlen, p1r, p2r, cachedelta + self.revlog, + revinfo.textlen, + p1r, + p2r, + cachedelta, ) candidaterevs = next(groups) while candidaterevs is not None: