mercurial/upgrade_utils/engine.py
changeset 50668 e06d1a779eb6
parent 50624 e1ee6910f6bc
child 50926 18c8c18993f0
--- a/mercurial/upgrade_utils/engine.py	Tue May 30 16:38:13 2023 +0100
+++ b/mercurial/upgrade_utils/engine.py	Tue May 30 17:43:59 2023 +0100
@@ -370,7 +370,7 @@
     are cloned"""
     for path, kind, st in sorted(srcrepo.store.vfs.readdir(b'', stat=True)):
         # don't copy revlogs as they are already cloned
-        if store.revlog_type(path) is not None:
+        if store.is_revlog_file(path):
             continue
         # Skip transaction related files.
         if path.startswith(b'undo'):