This is an archive of the discontinued Mercurial Phabricator instance.

remotefilelog: use raw strings when looking for variable names
ClosedPublic

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

Details

Summary

Keys in self.dict and vars() are always str. So we need to use
raw strings to ensure lookups work on Python 3.

  1. skip-blame just r'' prefixes

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.