path: update `get_unique_pull_path` to point out it returns a url
Unlike other functions in this module it returns a url as `bytes` and
not a `path` object. Let us point it out in the doc.
--- a/mercurial/utils/urlutil.py Fri Dec 02 02:03:49 2022 +0100
+++ b/mercurial/utils/urlutil.py Thu Dec 01 16:53:22 2022 +0100
@@ -545,7 +545,7 @@
def get_unique_pull_path(action, repo, ui, source=None, default_branches=()):
- """return a unique `(path, branch)` or abort if multiple are found
+ """return a unique `(url, branch)` or abort if multiple are found
This is useful for command and action that does not support multiple
destination (yet).