hgext/mq.py
changeset 2766 c5ac397f7671
parent 2765 0327bd1c831c
child 2767 60683ab1ed33
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -1228,7 +1228,7 @@ def clone(ui, source, dest=None, **opts)
     Source patch repository is looked for in <src>/.hg/patches by
     default.  Use -p <url> to change.
     '''
-    commands.setremoteconfig(**opts)
+    commands.setremoteconfig(ui, opts)
     if dest is None:
         dest = hg.defaultdest(source)
     sr = hg.repository(ui, ui.expandpath(source))