changeset 51787:73b9558a0c56

manifest: use read_delta_new_entries in verify too This seems like the proper semantic for the usage.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 06 Aug 2024 02:09:33 +0200
parents e4954fd3d1c3
children 9af1acc1ffab
files mercurial/verify.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/verify.py	Tue Aug 06 02:13:17 2024 +0200
+++ b/mercurial/verify.py	Tue Aug 06 02:09:33 2024 +0200
@@ -360,7 +360,7 @@
                 self._err(lr, _(b"%s not in changesets") % short(n), label)
 
             try:
-                mfdelta = mfl.get(dir, n).readdelta(shallow=True)
+                mfdelta = mfl.get(dir, n).read_delta_new_entries(shallow=True)
                 for f, fn, fl in mfdelta.iterentries():
                     if not f:
                         self._err(lr, _(b"entry without name in manifest"))