Show More
@@ -512,13 +512,8 b' def get_pull_paths(repo, ui, sources, de' | |||
|
512 | 512 | for p in ui.paths[source]: |
|
513 | 513 | yield parseurl(p.rawloc, default_branches) |
|
514 | 514 | else: |
|
515 | # Try to resolve as a local path or URI. | |
|
516 | path = try_path(ui, source) | |
|
517 | if path is not None: | |
|
518 | url = path.rawloc | |
|
519 | else: | |
|
520 | url = source | |
|
521 | yield parseurl(url, default_branches) | |
|
515 | p = path(ui, None, source, validate_path=False) | |
|
516 | yield parseurl(p.rawloc, default_branches) | |
|
522 | 517 | |
|
523 | 518 | |
|
524 | 519 | def get_unique_push_path(action, repo, ui, dest=None): |
General Comments 0
You need to be logged in to leave comments.
Login now