Page MenuHomePhabricator

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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