Mercurial > public > mercurial-scm > hg
diff tests/test-revlog-raw.py @ 49673:e33776297d1f
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.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 07 Nov 2022 18:06:17 -0500 |
parents | 642e31cb55f0 |
children | efbbc2f9121e |
line wrap: on
line diff
--- a/tests/test-revlog-raw.py Sat Nov 12 00:18:41 2022 +0100 +++ b/tests/test-revlog-raw.py Mon Nov 07 18:06:17 2022 -0500 @@ -54,10 +54,6 @@ 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)