##// END OF EJS Templates
Switch to using cat with EOF doc instead of trying to quote newlines for echo.
Lee Cantey -
r5686:5d14d711 default
parent child Browse files
Show More
@@ -1,11 +1,13 b''
1 #!/bin/sh
1 #!/bin/sh
2
2
3 echo "[extensions]" >> $HGRCPATH
3 cat <<EOF >> $HGRCPATH
4 echo "mq=" >> $HGRCPATH
4 [extensions]
5 echo "[defaults]" >> $HGRCPATH
5 mq=
6 echo "log = --template \"{rev}: {desc}\\n\"" >> $HGRCPATH
6 [defaults]
7 echo "heads = --template \"{rev}: {desc}\\n\"" >> $HGRCPATH
7 log = --template "{rev}: {desc}\\n"
8 echo "incoming = --template \"{rev}: {desc}\\n\"" >> $HGRCPATH
8 heads = --template "{rev}: {desc}\\n"
9 incoming = --template "{rev}: {desc}\\n"
10 EOF
9
11
10 echo "====== .hgrc"
12 echo "====== .hgrc"
11 cat $HGRCPATH
13 cat $HGRCPATH
General Comments 0
You need to be logged in to leave comments. Login now