diff tests/bruterebase.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 2372284d9457
children 7a430116f639
line wrap: on
line diff
--- a/tests/bruterebase.py	Thu Oct 08 15:35:44 2020 -0700
+++ b/tests/bruterebase.py	Thu Oct 08 13:37:31 2020 -0700
@@ -52,7 +52,7 @@
             try:
                 rebase.rebase(ui, repo, dest=dest, rev=[spec])
             except error.Abort as ex:
-                summary = b'ABORT: %s' % ex
+                summary = b'ABORT: %s' % ex.message
             except Exception as ex:
                 summary = b'CRASH: %s' % ex
             else: