diff mercurial/debugcommands.py @ 49824: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 b1e4c74beb6f
children c84844cd523a
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Mon May 02 11:58:43 2022 +0200
+++ b/mercurial/debugcommands.py	Wed Dec 21 12:03:02 2022 +0100
@@ -559,7 +559,7 @@
     m2 = repo[parent2].manifest()
     errors = 0
     for err in repo.dirstate.verify(m1, m2):
-        ui.warn(err[0] % err[1:])
+        ui.warn(err)
         errors += 1
     if errors:
         errstr = _(b".hg/dirstate inconsistent with current parent's manifest")