This is an archive of the discontinued Mercurial Phabricator instance.

remotefilelog: use the right expandpath in to expand `~`
ClosedPublic

Authored by marmoute on Apr 14 2021, 7:38 PM.

Details

Summary

Given the context where path is most likely a file system path, I suspect that
the initial author confused ui.expandpath and util.expandpath (a proxy for
os.path.expanduser and co)

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

marmoute created this revision.Apr 14 2021, 7:38 PM
pulkit accepted this revision.Apr 15 2021, 11:11 AM
This revision is now accepted and ready to land.Apr 15 2021, 11:11 AM