This is an archive of the discontinued Mercurial Phabricator instance.

urlutil: add a new `get_unique_pull_path`
ClosedPublic

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

Details

Summary

This function is dedicated to call that needs a single destination. Currently most caller actually need that since few actually support multiple destinations (the most importants hg push and hg outgoing do). So having a clear API point for that will be important when the time comes to have a single [paths] alias resolving to multiple urls.

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