444
|
1 |
#!/bin/sh -x
|
|
2 |
hg -d init
|
|
3 |
echo this is a1 > a
|
|
4 |
hg -d add a
|
|
5 |
hg -d commit -t0 -d "0 0" -u user
|
|
6 |
echo this is b1 > b
|
|
7 |
hg -d add b
|
|
8 |
hg -d commit -t1 -d "0 0" -u user
|
|
9 |
hg -d manifest 1
|
|
10 |
echo this is c1 > c
|
|
11 |
hg -d rawcommit -p 1 -d "0 0" -u user -t2 c
|
|
12 |
hg -d manifest 2
|
|
13 |
hg -d parents
|
|
14 |
rm b
|
|
15 |
hg -d rawcommit -p 2 -d "0 0" -u user -t3 b
|
|
16 |
hg -d manifest 3
|
|
17 |
hg -d parents
|
|
18 |
echo this is a22 > a
|
|
19 |
hg -d rawcommit -p 3 -d "0 0" -u user -t4 a
|
|
20 |
hg -d manifest 4
|
|
21 |
hg -d parents
|
|
22 |
echo this is c22 > c
|
|
23 |
hg -d rawcommit -p 1 -d "0 0" -u user -t5 c
|
|
24 |
hg -d manifest 5
|
|
25 |
hg -d parents
|
|
26 |
# merge, but no files changed
|
|
27 |
hg -d rawcommit -p 4 -p 5 -d "0 0" -u user -t6
|
|
28 |
hg -d manifest 6
|
|
29 |
hg -d parents
|
|
30 |
# no changes what-so-ever
|
|
31 |
hg -d rawcommit -p 6 -d "0 0" -u user -t7
|
|
32 |
hg -d manifest 7
|
|
33 |
hg -d parents
|