diff mercurial/commands.py @ 14553:d976542986d2

hg: add opts argument to clone for internal remoteui
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Wed, 08 Jun 2011 18:24:33 +0200
parents 68d814a3cefd
children 517e1d88bf7e
line wrap: on
line diff
--- 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'),