Mercurial > hg
diff tests/test-hgrc @ 10295:44c923eeb81d stable
config: handle short continuations (issue1999)
Thanks to Greg Ward for spotting and testing
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 28 Jan 2010 23:07:28 -0600 |
parents | 7cdd2a7db2c2 |
children | cade47dcac2d |
line wrap: on
line diff
--- a/tests/test-hgrc Thu Jan 28 22:45:46 2010 -0600 +++ b/tests/test-hgrc Thu Jan 28 23:07:28 2010 -0600 @@ -23,5 +23,9 @@ echo ' x = y' >> $HGRCPATH hg version 2>&1 | sed -e "s|$HGRCPATH|\$HGRCPATH|" +python -c "print '[foo]\nbar = a\n b\n c \n de\n fg \nbaz = bif cb \n'" \ + > $HGRCPATH +hg showconfig foo + echo '%include /no-such-file' > $HGRCPATH hg version 2>&1 | sed -e "s|$HGRCPATH|\$HGRCPATH|"