diff -r 08630dd719f9 -r 607e9322fc89 mercurial/utils/urlutil.py --- a/mercurial/utils/urlutil.py Fri Oct 15 02:36:54 2021 +0200 +++ b/mercurial/utils/urlutil.py Fri Oct 15 02:44:14 2021 +0200 @@ -503,17 +503,17 @@ yield path -def get_pull_paths(repo, ui, sources, default_branches=()): +def get_pull_paths(repo, ui, sources): """yields all the `(path, branch)` selected as pull source by `sources`""" if not sources: sources = [b'default'] for source in sources: if source in ui.paths: for p in ui.paths[source]: - yield parseurl(p.rawloc, default_branches) + yield p else: p = path(ui, None, source, validate_path=False) - yield parseurl(p.rawloc, default_branches) + yield p def get_unique_push_path(action, repo, ui, dest=None):