tests/test-export
changeset 8167 6c82beaaa11a
parent 7771 09d0fe02988d
equal deleted inserted replaced
8166:56719b1aa6f4 8167:6c82beaaa11a
     4 cd repo
     4 cd repo
     5 touch foo
     5 touch foo
     6 hg add foo
     6 hg add foo
     7 for i in 0 1 2 3 4 5 6 7 8 9 10 11; do
     7 for i in 0 1 2 3 4 5 6 7 8 9 10 11; do
     8     echo "foo-$i" >> foo
     8     echo "foo-$i" >> foo
     9     hg ci -m "foo-$i" -d "0 0"
     9     hg ci -m "foo-$i"
    10 done
    10 done
    11 
    11 
    12 for out in "%nof%N" "%%%H" "%b-%R" "%h" "%r"; do
    12 for out in "%nof%N" "%%%H" "%b-%R" "%h" "%r"; do
    13     echo "# foo-$out.patch"
    13     echo "# foo-$out.patch"
    14     hg export -v -o "foo-$out.patch" 2:tip
    14     hg export -v -o "foo-$out.patch" 2:tip