Mercurial > hg
changeset 21485:ec273709c49e
tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo
To improve the readability.
author | Steven Brown <StevenGBrown@gmail.com> |
---|---|
date | Sat, 17 May 2014 17:09:46 +0800 |
parents | 96cdf2e3dbef |
children | 16352b34e32e |
files | tests/test-hgweb-commands.t |
diffstat | 1 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t Sat May 17 17:09:10 2014 +0800 +++ b/tests/test-hgweb-commands.t Sat May 17 17:09:46 2014 +0800 @@ -31,10 +31,13 @@ $ hg ci -l msg $ rm msg - $ echo [graph] >> .hg/hgrc - $ echo default.width = 3 >> .hg/hgrc - $ echo stable.width = 3 >> .hg/hgrc - $ echo stable.color = FF0000 >> .hg/hgrc + $ cat > .hg/hgrc <<EOF + > [graph] + > default.width = 3 + > stable.width = 3 + > stable.color = FF0000 + > EOF + $ hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log $ cat hg.pid >> $DAEMON_PIDS $ hg log -G --template '{rev}:{node|short} {desc}\n'