Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-patchbomb @ 4595:f7f2bd7f981d
test-patchbomb: fix non-existing --date parameter and filtering regexps.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 17 Jun 2007 19:39:47 +0200 |
parents | 1e11e8b6acab |
children | ec431334e4fc |
line wrap: on
line source
#!/bin/sh echo "[extensions]" >> $HGRCPATH echo "patchbomb=" >> $HGRCPATH hg init echo a > a hg commit -Ama -d '1 0' hg email -n -f quux -t foo -c bar tip | \ sed -e 's/\(Message-Id:\).*@.*/\1/' | \ sed -e 's/\(Date:\).*/\1/' echo b > b hg commit -Amb -d '2 0' # Pipe something to make raw_input() happy even under pysh+win32 echo test | hg email -n -f quux -t foo -c bar -s test 0:tip | \ sed -e 's/\(Message-Id:\).*@.*/\1/' | \ sed -e 's/\(In-Reply-To:\).*@.*/\1/' | \ sed -e 's/\(Date:\).*/\1/'