changeset 6088 | 3b96cefc1b2b |
parent 5277 | a32a8e50d233 |
child 6089 | 28054773438c |
--- 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)