mercurial/commands.py
changeset 14553 d976542986d2
parent 14551 68d814a3cefd
child 14556 517e1d88bf7e
--- a/mercurial/commands.py	Mon Jun 06 21:18:35 2011 +0200
+++ b/mercurial/commands.py	Wed Jun 08 18:24:33 2011 +0200
@@ -1026,7 +1026,7 @@
     if opts.get('noupdate') and opts.get('updaterev'):
         raise util.Abort(_("cannot specify both --noupdate and --updaterev"))
 
-    r = hg.clone(hg.remoteui(ui, opts), source, dest,
+    r = hg.clone(ui, opts, source, dest,
                  pull=opts.get('pull'),
                  stream=opts.get('uncompressed'),
                  rev=opts.get('rev'),