HomePhabricator

urlutil: add a new `get_unique_push_path`

Authored by marmoute.

Description

urlutil: add a new get_unique_push_path

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.

Differential Revision: https://phab.mercurial-scm.org/D10407

Details

Committed
marmouteApr 14 2021, 5:57 AM
Differential Revision
D10407: urlutil: add a new `get_unique_push_path`
Parents
rHGb133154f1e7b: fetch: use `get_unique_pull_path` to retrieve the path
Branches
Unknown
Tags
Unknown