hgext/histedit.py
changeset 17191 5884812686f7
parent 17147 80e861511e2b
child 17241 c2f13180001f
--- a/hgext/histedit.py	Fri Jul 06 14:12:42 2012 -0500
+++ b/hgext/histedit.py	Fri Jul 13 21:46:53 2012 +0200
@@ -412,7 +412,7 @@
         ui.status(_('comparing with %s\n') % util.hidepassword(dest))
 
         revs, checkout = hg.addbranchrevs(repo, repo, revs, None)
-        other = hg.repository(hg.remoteui(repo, opts), dest)
+        other = hg.peer(repo, opts, dest)
 
         if revs:
             revs = [repo.lookup(rev) for rev in revs]