Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-export @ 3899:504dee0abeac
Make sequence number on hg export start at 1 (as documented for %n). Add test.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 15 Dec 2006 19:09:10 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3883:6081b4c68baf | 3899:504dee0abeac |
---|---|
1 #!/bin/sh | |
2 | |
3 hg init repo | |
4 cd repo | |
5 touch foo | |
6 hg add foo | |
7 for i in 0 1 2 3 4 5 6 7 8 9 10 11; do | |
8 echo "foo-$i" >> foo | |
9 hg ci -m "foo-$i" -d "0 0" | |
10 done | |
11 | |
12 for out in "%nof%N" "%%%H" "%b-%R" "%h" "%r"; do | |
13 echo "# foo-$out.patch" | |
14 hg export -v -o "foo-$out.patch" 2:tip | |
15 done |