comparison tests/test-mq-qrefresh.t @ 23172:e955549cd045

tests: write hgrc of more than two lines by using shell heredoc Here document should be readable than repeating echo commands.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 04 Nov 2014 23:41:46 +0900
parents 3f948469bac0
children bbf544b5f2e9
comparison
equal deleted inserted replaced
23171:8afae1d5d108 23172:e955549cd045
1 $ echo "[extensions]" >> $HGRCPATH 1 $ cat <<EOF >> $HGRCPATH
2 $ echo "mq=" >> $HGRCPATH 2 > [extensions]
3 $ echo "[diff]" >> $HGRCPATH 3 > mq =
4 $ echo "nodates=1" >> $HGRCPATH 4 > [diff]
5 > nodates = 1
6 > EOF
5 7
6 $ hg init a 8 $ hg init a
7 $ cd a 9 $ cd a
8 10
9 $ mkdir 1 2 11 $ mkdir 1 2