This is an archive of the discontinued Mercurial Phabricator instance.

init: use `get_clone_path` when suitable
ClosedPublic

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

Details

Summary

hg init has this weird feature were you can refer to [paths] entry select the path to initialize. We move that code to the new APIs.

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
marmoute updated this revision to Diff 26920.Apr 15 2021, 3:38 AM
pulkit accepted this revision.Apr 15 2021, 11:16 AM
This revision is now accepted and ready to land.Apr 15 2021, 11:16 AM
This revision was automatically updated to reflect the committed changes.