Show More
@@ -2121,8 +2121,11 b' def remote(repo, subset, x):' | |||||
2121 | if len(l) > 1: |
|
2121 | if len(l) > 1: | |
2122 | # i18n: "remote" is a keyword |
|
2122 | # i18n: "remote" is a keyword | |
2123 | dest = getstring(l[1], _(b"remote requires a repository path")) |
|
2123 | dest = getstring(l[1], _(b"remote requires a repository path")) | |
2124 | dest = repo.ui.expandpath(dest or b'default') |
|
2124 | if not dest: | |
2125 | dest, branches = urlutil.parseurl(dest) |
|
2125 | dest = b'default' | |
|
2126 | dest, branches = urlutil.get_unique_pull_path( | |||
|
2127 | b'remote', repo, repo.ui, dest | |||
|
2128 | ) | |||
2126 |
|
2129 | |||
2127 | other = hg.peer(repo, {}, dest) |
|
2130 | other = hg.peer(repo, {}, dest) | |
2128 | n = other.lookup(q) |
|
2131 | n = other.lookup(q) |
General Comments 0
You need to be logged in to leave comments.
Login now