Mercurial > hg
changeset 41250:8a6995513d9a
remotefilelog: fix logging in retry decorator
This still fails with an error about no exception being available to
re-raise, but so it goes.
Differential Revision: https://phab.mercurial-scm.org/D5600
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 16 Jan 2019 10:57:38 -0500 |
parents | c891a11ffe27 |
children | beb0d944a99b |
files | hgext/remotefilelog/basestore.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/remotefilelog/basestore.py Wed Jan 16 10:56:15 2019 -0500 +++ b/hgext/remotefilelog/basestore.py Wed Jan 16 10:57:38 2019 -0500 @@ -420,6 +420,7 @@ except KeyError: pass # retries exhausted - retrylog('retries exhausted in %s, raising KeyError\n' % funcname) + retrylog('retries exhausted in %s, raising KeyError\n' % + pycompat.sysbytes(funcname)) raise return wrapped