Mercurial > hg
changeset 41696:3d5543599df8
remotefilelog: remove strkwargs()
The previous commit activated previously unused code paths on
Python 3 and revealed that we were calling strkwargs() on a dict
that already had str keys. The only caller of _forceprefetch()
is _adjustlinknode() a few lines up and the static commonlogkwargs
dict features str keys.
Differential Revision: https://phab.mercurial-scm.org/D5958
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 14 Feb 2019 13:16:36 -0800 |
parents | e37bd7ccfee3 |
children | e21183db2259 |
files | hgext/remotefilelog/remotefilectx.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/remotefilelog/remotefilectx.py Wed Feb 13 16:31:20 2019 -0800 +++ b/hgext/remotefilelog/remotefilectx.py Thu Feb 14 13:16:36 2019 -0800 @@ -15,7 +15,6 @@ context, error, phases, - pycompat, util, ) from . import shallowutil @@ -316,7 +315,7 @@ finally: elapsed = time.time() - start repo.ui.log('linkrevfixup', logmsg + '\n', elapsed=elapsed * 1000, - **pycompat.strkwargs(commonlogkwargs)) + **commonlogkwargs) def _verifylinknode(self, revs, linknode): """