comparison tests/test-rawcommit1 @ 591:eb46971fc57f

options: kill -d for debug -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 options: kill -d for debug You must now use --debug. This is a preparatory step for changing the option parsing from: hg [global-opts] <command> [command-opts] to hg [global-opts] <command> [global or command opts] manifest hash: ec5ecc687340baa109a98b742f1cd8d1f4aadeed -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCx4urywK+sNU5EO8RAl90AJ0fwKU/GwHpJvlTFl5naeJbkceWewCgh4jK kaTSSodACgPzgbFiid5RL4Y= =siEe -----END PGP SIGNATURE-----
author mpm@selenic.com
date Sat, 02 Jul 2005 22:54:35 -0800
parents 2cdcb4beecb2
children 7e4843b7efd2
comparison
equal deleted inserted replaced
590:38d106db75bc 591:eb46971fc57f
1 #!/bin/sh -x 1 #!/bin/sh -x
2 hg -d init 2 hg --debug init
3 echo this is a1 > a 3 echo this is a1 > a
4 hg -d add a 4 hg add a
5 hg -d commit -t0 -d "0 0" -u user 5 hg commit -t0 -d "0 0" -u user
6 echo this is b1 > b 6 echo this is b1 > b
7 hg -d add b 7 hg add b
8 hg -d commit -t1 -d "0 0" -u user 8 hg commit -t1 -d "0 0" -u user
9 hg -d manifest 1 9 hg manifest 1
10 echo this is c1 > c 10 echo this is c1 > c
11 hg -d rawcommit -p 1 -d "0 0" -u user -t2 c 11 hg rawcommit -p 1 -d "0 0" -u user -t2 c
12 hg -d manifest 2 12 hg manifest 2
13 hg -d parents 13 hg parents
14 rm b 14 rm b
15 hg -d rawcommit -p 2 -d "0 0" -u user -t3 b 15 hg rawcommit -p 2 -d "0 0" -u user -t3 b
16 hg -d manifest 3 16 hg manifest 3
17 hg -d parents 17 hg parents
18 echo this is a22 > a 18 echo this is a22 > a
19 hg -d rawcommit -p 3 -d "0 0" -u user -t4 a 19 hg rawcommit -p 3 -d "0 0" -u user -t4 a
20 hg -d manifest 4 20 hg manifest 4
21 hg -d parents 21 hg parents
22 echo this is c22 > c 22 echo this is c22 > c
23 hg -d rawcommit -p 1 -d "0 0" -u user -t5 c 23 hg rawcommit -p 1 -d "0 0" -u user -t5 c
24 hg -d manifest 5 24 hg manifest 5
25 hg -d parents 25 hg parents
26 # merge, but no files changed 26 # merge, but no files changed
27 hg -d rawcommit -p 4 -p 5 -d "0 0" -u user -t6 27 hg rawcommit -p 4 -p 5 -d "0 0" -u user -t6
28 hg -d manifest 6 28 hg manifest 6
29 hg -d parents 29 hg parents
30 # no changes what-so-ever 30 # no changes what-so-ever
31 hg -d rawcommit -p 6 -d "0 0" -u user -t7 31 hg rawcommit -p 6 -d "0 0" -u user -t7
32 hg -d manifest 7 32 hg manifest 7
33 hg -d parents 33 hg parents