##// END OF EJS Templates
path: pass `path` to `peer` in `remote(...)` revset...
marmoute -
r50620:f632b9e1 default
parent child Browse files
Show More
@@ -2130,11 +2130,9 b' def remote(repo, subset, x):'
2130 2130 dest = getstring(l[1], _(b"remote requires a repository path"))
2131 2131 if not dest:
2132 2132 dest = b'default'
2133 dest, branches = urlutil.get_unique_pull_path(
2134 b'remote', repo, repo.ui, dest
2135 )
2136
2137 other = hg.peer(repo, {}, dest)
2133 path = urlutil.get_unique_pull_path_obj(b'remote', repo.ui, dest)
2134
2135 other = hg.peer(repo, {}, path)
2138 2136 n = other.lookup(q)
2139 2137 if n in repo:
2140 2138 r = repo[n].rev()
General Comments 0
You need to be logged in to leave comments. Login now