diff mercurial/upgrade_utils/engine.py @ 50530:e50d1fe7ebb4

store: issue a single entry for each revlog We now yield a single entry, with data about each files involved. This help to simplify multiple code using this and it will help to further simplify and fixes the streaming code.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 15 May 2023 09:03:15 +0200
parents 3473d18c029a
children e4186ddab473
line wrap: on
line diff
--- a/mercurial/upgrade_utils/engine.py	Mon May 15 09:02:59 2023 +0200
+++ b/mercurial/upgrade_utils/engine.py	Mon May 15 09:03:15 2023 +0200
@@ -194,7 +194,7 @@
     # Perform a pass to collect metadata. This validates we can open all
     # source files and allows a unified progress bar to be displayed.
     for entry in alldatafiles:
-        if not (entry.is_revlog and entry.is_revlog_main):
+        if not entry.is_revlog:
             continue
 
         rl = _revlog_from_store_entry(srcrepo, entry)