diff -r 127656e0b97b -r f636103c4d67 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Tue Oct 10 18:02:20 2023 +0200 +++ b/mercurial/debugcommands.py Tue Oct 10 10:56:42 2023 +0200 @@ -805,7 +805,7 @@ index = r.index start = r.start length = r.length - generaldelta = r._generaldelta + generaldelta = r.delta_config.general_delta withsparseread = getattr(r, '_withsparseread', False) # security to avoid crash on corrupted revlogs