# HG changeset patch # User Steven Brown # Date 1400317786 -28800 # Node ID ec273709c49e3da28953470a9f22e99660479190 # Parent 96cdf2e3dbef32dd684ae887bcb564171d8d79d1 tests: write the hgrc file for test-hgweb-commands.t with cat instead of echo To improve the readability. diff -r 96cdf2e3dbef -r ec273709c49e tests/test-hgweb-commands.t --- 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 < [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'