comparison tests/test-mq-qdiff.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 f2719b387380
children
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 "[mq]" >> $HGRCPATH 3 > mq =
4 $ echo "git=keep" >> $HGRCPATH 4 > [mq]
5 > git = keep
6 > EOF
5 7
6 $ hg init a 8 $ hg init a
7 $ cd a 9 $ cd a
8 10
9 $ echo 'base' > base 11 $ echo 'base' > base