Mercurial > public > mercurial-scm > hg
diff tests/test-hgrc @ 9470:ba75830d17a9
dispatch: catch ConfigError while constructing ui
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sat, 19 Sep 2009 13:52:54 +0200 |
parents | e51c0f41f271 |
children | 7cdd2a7db2c2 e95f0f70c3fd |
line wrap: on
line diff
--- a/tests/test-hgrc Sat Sep 12 11:17:07 2009 +0200 +++ b/tests/test-hgrc Sat Sep 19 13:52:54 2009 +0200 @@ -16,3 +16,9 @@ cat .hg/hgrc |sed -e "s:$p:...:" hg paths |sed -e "s:$p:...:" hg showconfig |sed -e "s:$p:...:" + +# issue1829: wrong indentation +cd .. +echo '[foo]' >> $HGRCPATH +echo ' x = y' >> $HGRCPATH +hg version 2>&1 | sed -e "s|$HGRCPATH|\$HGRCPATH|"