hgext/mq.py
changeset 14553 d976542986d2
parent 14529 e7a1814854b9
child 14564 65f4512e40e4
--- a/hgext/mq.py	Mon Jun 06 21:18:35 2011 +0200
+++ b/hgext/mq.py	Wed Jun 08 18:24:33 2011 +0200
@@ -2084,13 +2084,13 @@
         except error.RepoError:
             pass
     ui.note(_('cloning main repository\n'))
-    sr, dr = hg.clone(ui, sr.url(), dest,
+    sr, dr = hg.clone(ui, opts, sr.url(), dest,
                       pull=opts.get('pull'),
                       rev=destrev,
                       update=False,
                       stream=opts.get('uncompressed'))
     ui.note(_('cloning patch repository\n'))
-    hg.clone(ui, opts.get('patches') or patchdir(sr), patchdir(dr),
+    hg.clone(ui, opts, opts.get('patches') or patchdir(sr), patchdir(dr),
              pull=opts.get('pull'), update=not opts.get('noupdate'),
              stream=opts.get('uncompressed'))
     if dr.local():