Mercurial > hg-stable
changeset 4476:4ef8fdf57e39
mq: pass a URL to clone
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 02 Jun 2007 09:21:56 -0500 |
parents | e8a584067825 |
children | 6cbfa740c129 |
files | hgext/mq.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,