Mercurial > hg
changeset 39911:d1bc6cf2be69
py3: use util.forcebytestr() to convert push lock error to bytes
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 29 Sep 2018 23:52:00 -0400 |
parents | 6e2c8f7f894e |
children | 7b35209ba1a7 |
files | mercurial/exchange.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/exchange.py Sat Sep 29 20:57:49 2018 -0400 +++ b/mercurial/exchange.py Sat Sep 29 23:52:00 2018 -0400 @@ -522,7 +522,8 @@ # source repo cannot be locked. # We do not abort the push, but just disable the local phase # synchronisation. - msg = 'cannot lock source repository: %s\n' % err + msg = ('cannot lock source repository: %s\n' + % stringutil.forcebytestr(err)) pushop.ui.debug(msg) with wlock or util.nullcontextmanager(), \