comparison tests/test-rawcommit1 @ 749:7e4843b7efd2

Update tests to use commit -m and default -u manifest hash: 6e4385453843031a712005a320d6000595b40d05
author mpm@selenic.com
date Thu, 21 Jul 2005 15:05:17 -0500
parents eb46971fc57f
children ec85f9e6f3b1 8f5637f0a0c0 0902ffece4b4
comparison
equal deleted inserted replaced
748:c5df1a9c5276 749:7e4843b7efd2
1 #!/bin/sh -x 1 #!/bin/sh -x
2 hg --debug init 2 hg --debug init
3 echo this is a1 > a 3 echo this is a1 > a
4 hg add a 4 hg add a
5 hg commit -t0 -d "0 0" -u user 5 hg commit -m0 -d "0 0"
6 echo this is b1 > b 6 echo this is b1 > b
7 hg add b 7 hg add b
8 hg commit -t1 -d "0 0" -u user 8 hg commit -m1 -d "0 0"
9 hg manifest 1 9 hg manifest 1
10 echo this is c1 > c 10 echo this is c1 > c
11 hg rawcommit -p 1 -d "0 0" -u user -t2 c 11 hg rawcommit -p 1 -d "0 0" -m2 c
12 hg manifest 2 12 hg manifest 2
13 hg parents 13 hg parents
14 rm b 14 rm b
15 hg rawcommit -p 2 -d "0 0" -u user -t3 b 15 hg rawcommit -p 2 -d "0 0" -m3 b
16 hg manifest 3 16 hg manifest 3
17 hg parents 17 hg parents
18 echo this is a22 > a 18 echo this is a22 > a
19 hg rawcommit -p 3 -d "0 0" -u user -t4 a 19 hg rawcommit -p 3 -d "0 0" -m4 a
20 hg manifest 4 20 hg manifest 4
21 hg parents 21 hg parents
22 echo this is c22 > c 22 echo this is c22 > c
23 hg rawcommit -p 1 -d "0 0" -u user -t5 c 23 hg rawcommit -p 1 -d "0 0" -m5 c
24 hg manifest 5 24 hg manifest 5
25 hg parents 25 hg parents
26 # merge, but no files changed 26 # merge, but no files changed
27 hg rawcommit -p 4 -p 5 -d "0 0" -u user -t6 27 hg rawcommit -p 4 -p 5 -d "0 0" -m6
28 hg manifest 6 28 hg manifest 6
29 hg parents 29 hg parents
30 # no changes what-so-ever 30 # no changes what-so-ever
31 hg rawcommit -p 6 -d "0 0" -u user -t7 31 hg rawcommit -p 6 -d "0 0" -m7
32 hg manifest 7 32 hg manifest 7
33 hg parents 33 hg parents