diff hgext/mq.py @ 2738:ad4155e757da

Kill ui.setconfig_remoteopts This brought too much knowledge about command line particulars into the ui code. Moved to commands.py.
author Matt Mackall <mpm@selenic.com>
date Mon, 31 Jul 2006 00:47:43 -0500
parents 5d134f04060f
children 2f13f8d3fe80
line wrap: on
line diff
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -1192,7 +1192,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.
     '''
-    ui.setconfig_remoteopts(**opts)
+    commands.setremoteconfig(**opts)
     if dest is None:
         dest = hg.defaultdest(source)
     sr = hg.repository(ui, ui.expandpath(source))