changeset 51089 | 9c8df10ea6e0 |
parent 51088 | a82704902db8 |
child 51091 | e8ad6d8de8b8 |
--- a/contrib/perf.py Wed Oct 25 02:13:18 2023 +0200 +++ b/contrib/perf.py Thu Oct 19 02:57:05 2023 +0200 @@ -3810,13 +3810,15 @@ def dochunk(): rl.clearcaches() + # chunk used to be available directly on the revlog + _chunk = getattr(rl, '_inner', rl)._chunk with reading(rl) as fh: if fh is not None: for rev in revs: - rl._chunk(rev, df=fh) + _chunk(rev, df=fh) else: for rev in revs: - rl._chunk(rev) + _chunk(rev) chunks = [None]