mercurial/dirstate.py
changeset 49824 fdd227585d5a
parent 49823 2715c8549f4b
child 49827 d09a57ce6fc4
--- a/mercurial/dirstate.py	Mon May 02 11:58:43 2022 +0200
+++ b/mercurial/dirstate.py	Wed Dec 21 12:03:02 2022 +0100
@@ -1557,14 +1557,14 @@
         for f, entry in self.items():
             if entry.p1_tracked:
                 if entry.modified and f not in m1 and f not in m2:
-                    yield (missing_from_ps, f)
+                    yield missing_from_ps % f
                 elif f not in m1:
-                    yield (missing_from_p1, f)
+                    yield missing_from_p1 % f
             if entry.added and f in m1:
-                yield (unexpected_in_p1, f)
+                yield unexpected_in_p1 % f
         for f in m1:
             if narrow_matcher is not None and not narrow_matcher(f):
                 continue
             entry = self.get_entry(f)
             if not entry.p1_tracked:
-                yield (missing_from_ds, f)
+                yield missing_from_ds % f