##// END OF EJS Templates
revset: drop some unused code in the `remote` revset...
Matt Harbison -
r44449:6e8678e7 default
parent child Browse files
Show More
@@ -2025,9 +2025,7 b' def remote(repo, subset, x):'
2025 2025 dest = getstring(l[1], _(b"remote requires a repository path"))
2026 2026 dest = repo.ui.expandpath(dest or b'default')
2027 2027 dest, branches = hg.parseurl(dest)
2028 revs, checkout = hg.addbranchrevs(repo, repo, branches, [])
2029 if revs:
2030 revs = [repo.lookup(rev) for rev in revs]
2028
2031 2029 other = hg.peer(repo, {}, dest)
2032 2030 n = other.lookup(q)
2033 2031 if n in repo:
General Comments 0
You need to be logged in to leave comments. Login now