path: clarify document of `get_clone_path`
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 02 Dec 2022 03:51:27 +0100
changeset 49738 afcf59039b5d
parent 49737 4cedae992ed1
child 49739 ffe8dd945f19
path: clarify document of `get_clone_path` This return a url as `bytes`, not a `path` object.
mercurial/utils/urlutil.py
--- a/mercurial/utils/urlutil.py	Fri Dec 02 06:52:27 2022 +0100
+++ b/mercurial/utils/urlutil.py	Fri Dec 02 03:51:27 2022 +0100
@@ -582,7 +582,7 @@
 
 
 def get_clone_path(ui, source, default_branches=()):
-    """return the `(origsource, path, branch)` selected as clone source"""
+    """return the `(origsource, url, branch)` selected as clone source"""
     urls = []
     if source is None:
         if b'default' in ui.paths: