changeset 3899 | 504dee0abeac |
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 |