upgrade: drop a quick fix that is not longer necessary
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 15 May 2023 09:01:18 +0200
changeset 50489 2eb7f0b5a499
parent 50488 b4a9c8f18928
child 50490 0935b9db21b6
upgrade: drop a quick fix that is not longer necessary We won't issue bad revlog from topfile anymore.
mercurial/upgrade_utils/engine.py
--- 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(