Mercurial > hg-stable
comparison tests/test-clone @ 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 | 76c4cadb49fc |
children | a7fcb43af82e |
comparison
equal
deleted
inserted
replaced
6087:12856a1742dc | 6088:3b96cefc1b2b |
---|---|
30 # writing the .hgrc | 30 # writing the .hgrc |
31 cd ../.. | 31 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 |