diff -r 498afb627f78 -r 177e7d6bf875 tests/test-revlog-raw.py --- a/tests/test-revlog-raw.py Tue Oct 10 10:02:05 2023 +0200 +++ b/tests/test-revlog-raw.py Tue Oct 10 10:02:13 2023 +0200 @@ -371,7 +371,10 @@ def slicingtest(rlog): - oldmin = rlog._srmingapsize + old_delta_config = rlog.delta_config + old_data_config = rlog.data_config + rlog.delta_config = rlog.delta_config.copy() + rlog.data_config = rlog.data_config.copy() try: # the test revlog is small, we remove the floor under which we # slicing is diregarded. @@ -388,8 +391,8 @@ print(' expected: %s' % expected) print(' result: %s' % result) finally: - rlog.data_config.sr_min_gap_size = oldmin - rlog.delta_config.sr_min_gap_size = oldmin + rlog.delta_config = old_delta_config + rlog.data_config = old_data_config def md5sum(s):