Mercurial > hg
changeset 35840:b43b314cc46a
localrepo: pass transaction kwargs as strings, not bytes
Differential Revision: https://phab.mercurial-scm.org/D1899
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 17 Jan 2018 21:48:37 -0500 |
parents | 9dad46c23185 |
children | 7df43e0b9fc3 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Feb 01 12:38:04 2018 -0800 +++ b/mercurial/localrepo.py Wed Jan 17 21:48:37 2018 -0500 @@ -1332,7 +1332,7 @@ """To be run if transaction is aborted """ reporef().hook('txnabort', throw=False, txnname=desc, - **tr2.hookargs) + **pycompat.strkwargs(tr2.hookargs)) tr.addabort('txnabort-hook', txnaborthook) # avoid eager cache invalidation. in-memory data should be identical # to stored data if transaction has no error.