# HG changeset patch # User Pierre-Yves David # Date 1669949487 -3600 # Node ID afcf59039b5d600bbbe71d77a17d671befd5aaf7 # Parent 4cedae992ed10d764e83a4a54721433c5c51d0f9 path: clarify document of `get_clone_path` This return a url as `bytes`, not a `path` object. diff -r 4cedae992ed1 -r afcf59039b5d 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: