Mercurial > hg
changeset 49738:afcf59039b5d
path: clarify document of `get_clone_path`
This return a url as `bytes`, not a `path` object.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 02 Dec 2022 03:51:27 +0100 |
parents | 4cedae992ed1 |
children | ffe8dd945f19 |
files | mercurial/utils/urlutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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: