Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hg.py @ 6088:3b96cefc1b2b
clone: expand the path before saving it in .hg/hgrc
This should fix issue976
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Wed, 13 Feb 2008 18:37:38 -0200 |
parents | a32a8e50d233 |
children | 28054773438c |
line wrap: on
line diff
--- a/mercurial/hg.py Wed Feb 13 16:46:43 2008 +0100 +++ b/mercurial/hg.py Wed Feb 13 18:37:38 2008 -0200 @@ -105,8 +105,8 @@ destination is local repository """ - origsource = source - source, rev, checkout = parseurl(ui.expandpath(source), rev) + origsource = ui.expandpath(source) + source, rev, checkout = parseurl(origsource, rev) if isinstance(source, str): src_repo = repository(ui, source)