Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revlogutils/rewrite.py @ 51053:59c6f99723b1
revlog: remove legacy usage of `_checkambig`
All core code is now getting the setting from the DataConfig object.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 10 Oct 2023 11:02:00 +0200 |
parents | f636103c4d67 |
children | df50a1592e0c |
line wrap: on
line diff
--- a/mercurial/revlogutils/rewrite.py Tue Oct 10 10:58:28 2023 +0200 +++ b/mercurial/revlogutils/rewrite.py Tue Oct 10 11:02:00 2023 +0200 @@ -539,7 +539,7 @@ util.copyfile( rl.opener.join(index_file), rl.opener.join(new_file_path), - checkambig=rl._checkambig, + checkambig=rl.data_config.check_ambig, ) with rl.opener(new_file_path, mode=b"r+") as fp: