mercurial/ui.py
changeset 45889 e5a0efd26f7a
parent 45877 ac362d5a7893
child 45894 9dc1351d0b5f
--- a/mercurial/ui.py	Fri Nov 20 10:22:58 2020 -0800
+++ b/mercurial/ui.py	Fri Nov 20 10:31:56 2020 -0800
@@ -469,7 +469,9 @@
             except error.ParseError as inst:
                 if trusted:
                     raise
-                self.warn(_(b'ignored: %s\n') % stringutil.forcebytestr(inst))
+                self.warn(
+                    _(b'ignored %s: %s\n') % (inst.location, inst.message)
+                )
 
         self._applyconfig(cfg, trusted, root)