mercurial/scmutil.py
changeset 45682 d2e1dcd4490d
parent 45552 10284ce3d5ed
child 45720 508dfd1c18df
--- a/mercurial/scmutil.py	Thu Oct 08 15:35:44 2020 -0700
+++ b/mercurial/scmutil.py	Thu Oct 08 13:37:31 2020 -0700
@@ -216,7 +216,7 @@
     except error.WdirUnsupported:
         ui.error(_(b"abort: working directory revision cannot be specified\n"))
     except error.Abort as inst:
-        ui.error(_(b"abort: %s\n") % inst)
+        ui.error(_(b"abort: %s\n") % inst.message)
         if inst.hint:
             ui.error(_(b"(%s)\n") % inst.hint)
     except ImportError as inst: