hgext/mq.py
changeset 11273 d1908cb95a82
parent 11271 d1aca0863a9d
child 11302 e1dde7363601
--- a/hgext/mq.py	Thu Jun 03 21:38:30 2010 +0200
+++ b/hgext/mq.py	Tue Jun 01 11:18:57 2010 -0500
@@ -1871,7 +1871,7 @@
         return url + '/.hg/patches'
     if dest is None:
         dest = hg.defaultdest(source)
-    sr = hg.repository(cmdutil.remoteui(ui, opts), ui.expandpath(source))
+    sr = hg.repository(hg.remoteui(ui, opts), ui.expandpath(source))
     if opts['patches']:
         patchespath = ui.expandpath(opts['patches'])
     else: