This is an archive of the discontinued Mercurial Phabricator instance.

remotefilelog: remove strkwargs()
ClosedPublic

Authored by indygreg on Feb 13 2019, 7:38 PM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Feb 13 2019, 7:38 PM
pulkit accepted this revision.Feb 14 2019, 7:51 AM
This revision was automatically updated to reflect the committed changes.