Mercurial > public > mercurial-scm > hg-stable
diff mercurial/bundle2.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 | 10284ce3d5ed |
children | 89a2afe31e82 |
line wrap: on
line diff
--- a/mercurial/bundle2.py Thu Oct 08 15:35:44 2020 -0700 +++ b/mercurial/bundle2.py Thu Oct 08 13:37:31 2020 -0700 @@ -2089,7 +2089,7 @@ except error.Abort as e: raise error.Abort( _(b'bundle at %s is corrupted:\n%s') - % (util.hidepassword(raw_url), bytes(e)) + % (util.hidepassword(raw_url), e.message) ) assert not inpart.read()