Page MenuHomePhabricator

urlutil: add a `get_clone_path` function
ClosedPublic

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

Details

Summary

We add a new function with a semantic focussed on clone operation (so without
an existing repository). I am not certain the return type is the best, but this
is what we need for now. Once all caller are migrated we might start thinking
about that the API should be. For now that will do.

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:37 PM
pulkit accepted this revision.Apr 15 2021, 7:46 AM
This revision is now accepted and ready to land.Apr 15 2021, 7:46 AM
This revision was automatically updated to reflect the committed changes.