changeset 50489:2eb7f0b5a499

upgrade: drop a quick fix that is not longer necessary We won't issue bad revlog from topfile anymore.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 15 May 2023 09:01:18 +0200
parents b4a9c8f18928
children 0935b9db21b6
files mercurial/upgrade_utils/engine.py
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/upgrade_utils/engine.py	Mon May 15 09:01:02 2023 +0200
+++ b/mercurial/upgrade_utils/engine.py	Mon May 15 09:01:18 2023 +0200
@@ -205,17 +205,6 @@
             continue
         unencoded = entry.unencoded_path
 
-        # the store.walk function will wrongly pickup transaction backup and
-        # get confused. As a quick fix for 5.9 release, we ignore those.
-        # (this is not a module constants because it seems better to keep the
-        # hack together)
-        skip_undo = (
-            b'undo.backup.00changelog.i',
-            b'undo.backup.00manifest.i',
-        )
-        if unencoded in skip_undo:
-            continue
-
         rl = _revlogfrompath(srcrepo, entry.revlog_type, unencoded)
 
         info = rl.storageinfo(