--- a/mercurial/scmutil.py Thu Nov 19 11:23:59 2020 -0800
+++ b/mercurial/scmutil.py Fri Nov 20 08:51:45 2020 -0800
@@ -142,18 +142,6 @@
ui.status(_(b"no changes found\n"))
-def formatparse(write, inst):
- if inst.location is not None:
- write(
- _(b"hg: parse error at %s: %s\n")
- % (pycompat.bytestr(inst.location), inst.message)
- )
- else:
- write(_(b"hg: parse error: %s\n") % inst.message)
- if inst.hint:
- write(_(b"(%s)\n") % inst.hint)
-
-
def callcatch(ui, func):
"""call func() with global exception handling