diff -r b4a9c8f18928 -r 2eb7f0b5a499 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(