mq: pass a URL to clone
authorMatt Mackall <mpm@selenic.com>
Sat, 02 Jun 2007 09:21:56 -0500
changeset 4476 4ef8fdf57e39
parent 4475 e8a584067825
child 4477 6cbfa740c129
mq: pass a URL to clone
hgext/mq.py
--- a/hgext/mq.py	Fri Jun 01 14:07:42 2007 -0500
+++ b/hgext/mq.py	Sat Jun 02 09:21:56 2007 -0500
@@ -1594,7 +1594,7 @@
                 destrev = heads.keys()
                 destrev.append(sr.changelog.parents(qbase)[0])
     ui.note(_('cloning main repo\n'))
-    sr, dr = hg.clone(ui, sr, dest,
+    sr, dr = hg.clone(ui, sr.url(), dest,
                       pull=opts['pull'],
                       rev=destrev,
                       update=False,