Show More
@@ -105,8 +105,8 b' def clone(ui, source, dest=None, pull=Fa' | |||||
105 | destination is local repository |
|
105 | destination is local repository | |
106 | """ |
|
106 | """ | |
107 |
|
107 | |||
108 | origsource = source |
|
108 | origsource = ui.expandpath(source) | |
109 |
source, rev, checkout = parseurl( |
|
109 | source, rev, checkout = parseurl(origsource, rev) | |
110 |
|
110 | |||
111 | if isinstance(source, str): |
|
111 | if isinstance(source, str): | |
112 | src_repo = repository(ui, source) |
|
112 | src_repo = repository(ui, source) |
@@ -32,4 +32,8 b' cd ../..' | |||||
32 | hg clone file://a e |
|
32 | hg clone file://a e | |
33 | grep 'file:' e/.hg/hgrc |
|
33 | grep 'file:' e/.hg/hgrc | |
34 |
|
34 | |||
|
35 | # check that path aliases are expanded | |||
|
36 | hg clone -q -U --config 'paths.foobar=a#0' foobar f | |||
|
37 | hg -R f showconfig paths.default | sed -e 's,.*/,,' | |||
|
38 | ||||
35 | exit 0 |
|
39 | exit 0 |
@@ -15,3 +15,4 b' destination directory: a' | |||||
15 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
15 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
16 | a |
|
16 | a | |
17 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
17 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
18 | a#0 |
General Comments 0
You need to be logged in to leave comments.
Login now