# HG changeset patch # User Lee Cantey # Date 2007-12-21 22:26:20 # Node ID 5d14d71148b8f4d95c677846305fcfd914a3721c # Parent 57d29a45ffbc9ef4ab029e6398f8f1fc231e9968 Switch to using cat with EOF doc instead of trying to quote newlines for echo. diff --git a/tests/test-mq-pull-from-bundle b/tests/test-mq-pull-from-bundle --- a/tests/test-mq-pull-from-bundle +++ b/tests/test-mq-pull-from-bundle @@ -1,11 +1,13 @@ #!/bin/sh -echo "[extensions]" >> $HGRCPATH -echo "mq=" >> $HGRCPATH -echo "[defaults]" >> $HGRCPATH -echo "log = --template \"{rev}: {desc}\\n\"" >> $HGRCPATH -echo "heads = --template \"{rev}: {desc}\\n\"" >> $HGRCPATH -echo "incoming = --template \"{rev}: {desc}\\n\"" >> $HGRCPATH +cat <> $HGRCPATH +[extensions] +mq= +[defaults] +log = --template "{rev}: {desc}\\n" +heads = --template "{rev}: {desc}\\n" +incoming = --template "{rev}: {desc}\\n" +EOF echo "====== .hgrc" cat $HGRCPATH