Mercurial > hg
comparison mercurial/obsolete.py @ 46940:368294967c95
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
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 14 Apr 2021 11:57:20 +0200 |
parents | 6266d19556ad |
children | d55b71393907 |
comparison
equal
deleted
inserted
replaced
46939:b133154f1e7b | 46940:368294967c95 |
---|