diff mercurial/debugcommands.py @ 45682:d2e1dcd4490d

errors: name arguments to Abort constructor Differential Revision: https://phab.mercurial-scm.org/D9179
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 08 Oct 2020 13:37:31 -0700
parents 308ca5528ee6
children 0428978bca22
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Thu Oct 08 15:35:44 2020 -0700
+++ b/mercurial/debugcommands.py	Thu Oct 08 13:37:31 2020 -0700
@@ -1770,7 +1770,7 @@
     try:
         username = ui.username()
     except error.Abort as e:
-        err = stringutil.forcebytestr(e)
+        err = e.message
         problems += 1
 
     fm.condwrite(