mercurial/revset.py
changeset 14556 517e1d88bf7e
parent 14509 4f695345979c
child 14649 a6a8809c6e33
--- a/mercurial/revset.py	Fri Jun 10 11:43:38 2011 -0500
+++ b/mercurial/revset.py	Fri Jun 10 11:43:38 2011 -0500
@@ -599,7 +599,7 @@
     revs, checkout = hg.addbranchrevs(repo, repo, branches, [])
     if revs:
         revs = [repo.lookup(rev) for rev in revs]
-    other = hg.repository(hg.remoteui(repo, {}), dest)
+    other = hg.peer(repo, {}, dest)
     repo.ui.pushbuffer()
     common, outheads = discovery.findcommonoutgoing(repo, other, onlyheads=revs)
     repo.ui.popbuffer()