Mercurial > hg
diff tests/test-hgrc @ 11224:f23f87462c18
config: expand hgrc %include paths
author | Chad Dombrova <chadrik@gmail.com> |
---|---|
date | Wed, 26 May 2010 14:03:29 -0700 |
parents | 992723445a29 |
children | d6dbd5e4ee72 |
line wrap: on
line diff
--- a/tests/test-hgrc Wed May 26 16:16:47 2010 +0200 +++ b/tests/test-hgrc Wed May 26 14:03:29 2010 -0700 @@ -23,8 +23,11 @@ > $HGRCPATH hg showconfig foo -echo '%include /no-such-file' > $HGRCPATH +FAKEPATH=/path/to/nowhere +export FAKEPATH +echo '%include $FAKEPATH/no-such-file' > $HGRCPATH hg version 2>&1 | sed -e "s|$HGRCPATH|\$HGRCPATH|" +unset FAKEPATH # HGPLAIN cd ..