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.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG368294967c95: urlutil: add a new `get_unique_push_path`
Diff Detail
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.
AssertionError does not look friendly here. Can you follow up with error.Abort() or something else here?