##// END OF EJS Templates
urlutil: remove usage of `ui.expandpath` in `get_pull_paths`...
marmoute -
r47724:afdd7c47 default
parent child Browse files
Show More
@@ -467,7 +467,15 b' def get_pull_paths(repo, ui, sources, de'
467 if not sources:
467 if not sources:
468 sources = [b'default']
468 sources = [b'default']
469 for source in sources:
469 for source in sources:
470 url = ui.expandpath(source)
470 if source in ui.paths:
471 url = ui.paths[source].rawloc
472 else:
473 # Try to resolve as a local path or URI.
474 try:
475 # we pass the ui instance are warning might need to be issued
476 url = path(ui, None, rawloc=source).rawloc
477 except ValueError:
478 url = source
471 yield parseurl(url, default_branches)
479 yield parseurl(url, default_branches)
472
480
473
481
General Comments 0
You need to be logged in to leave comments. Login now