# HG changeset patch # User Pierre-Yves David # Date 2022-11-07 23:06:17 # Node ID e33776297d1f95a119b9bda8c5d6648e89a2c54a # Parent e92de86cf4f8806714f79657a295af5cfc9b508b test-revlog-raw: drop the overwrite of dead code The revlog class no longer have a _isgooddeltainfo method for a long time. So overwriting it does not get us anything. The test have been wrapping the right code since then anyway. diff --git a/tests/test-revlog-raw.py b/tests/test-revlog-raw.py --- a/tests/test-revlog-raw.py +++ b/tests/test-revlog-raw.py @@ -54,10 +54,6 @@ tvfs.options = { b'sparse-revlog': True, } -# The test wants to control whether to use delta explicitly, based on -# "storedeltachains". -revlog.revlog._isgooddeltainfo = lambda self, d, textlen: self._storedeltachains - def abort(msg): print('abort: %s' % msg)