Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dirstate.py @ 49919:fdd227585d5a
verify: format messages directly at the source
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Wed, 21 Dec 2022 12:03:02 +0100 |
parents | 2715c8549f4b |
children | d09a57ce6fc4 |
line wrap: on
line diff
--- 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