mercurial/revset.py
changeset 44002 6e8678e7223a
parent 43759 6c6d67fc45cb
child 44377 8561ad49915d
--- a/mercurial/revset.py	Fri Dec 27 18:52:48 2019 -0500
+++ b/mercurial/revset.py	Fri Dec 27 19:00:38 2019 -0500
@@ -2025,9 +2025,7 @@
         dest = getstring(l[1], _(b"remote requires a repository path"))
     dest = repo.ui.expandpath(dest or b'default')
     dest, branches = hg.parseurl(dest)
-    revs, checkout = hg.addbranchrevs(repo, repo, branches, [])
-    if revs:
-        revs = [repo.lookup(rev) for rev in revs]
+
     other = hg.peer(repo, {}, dest)
     n = other.lookup(q)
     if n in repo: