diff hgext/mq.py @ 11273:d1908cb95a82

remoteui: move from cmdutil to hg
author Matt Mackall <mpm@selenic.com>
date Tue, 01 Jun 2010 11:18:57 -0500
parents d1aca0863a9d
children e1dde7363601
line wrap: on
line diff
--- 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: