Show More
@@ -1,59 +1,59 b'' | |||
|
1 |
#!/bin/ |
|
|
1 | #!/bin/sh | |
|
2 | 2 | |
|
3 | 3 | hg init test |
|
4 | 4 | cd test |
|
5 | 5 | cat >>afile <<EOF |
|
6 | 6 | 0 |
|
7 | 7 | EOF |
|
8 | 8 | hg add afile |
|
9 | 9 | hg commit -m "0.0" |
|
10 | 10 | cat >>afile <<EOF |
|
11 | 11 | 1 |
|
12 | 12 | EOF |
|
13 | 13 | hg commit -m "0.1" |
|
14 | 14 | cat >>afile <<EOF |
|
15 | 15 | 2 |
|
16 | 16 | EOF |
|
17 | 17 | hg commit -m "0.2" |
|
18 | 18 | cat >>afile <<EOF |
|
19 | 19 | 3 |
|
20 | 20 | EOF |
|
21 | 21 | hg commit -m "0.3" |
|
22 | 22 | hg update -C 0 |
|
23 | 23 | cat >>afile <<EOF |
|
24 | 24 | 1 |
|
25 | 25 | EOF |
|
26 | 26 | hg commit -m "1.1" |
|
27 | 27 | cat >>afile <<EOF |
|
28 | 28 | 2 |
|
29 | 29 | EOF |
|
30 | 30 | hg commit -m "1.2" |
|
31 | 31 | cat >fred <<EOF |
|
32 | 32 | a line |
|
33 | 33 | EOF |
|
34 | 34 | cat >>afile <<EOF |
|
35 | 35 | 3 |
|
36 | 36 | EOF |
|
37 | 37 | hg add fred |
|
38 | 38 | hg commit -m "1.3" |
|
39 | 39 | hg mv afile adifferentfile |
|
40 | 40 | hg commit -m "1.3m" |
|
41 | 41 | hg update -C 3 |
|
42 | 42 | hg mv afile anotherfile |
|
43 | 43 | hg commit -m "0.3m" |
|
44 | 44 | hg debugindex .hg/data/afile.i |
|
45 | 45 | hg debugindex .hg/data/adifferentfile.i |
|
46 | 46 | hg debugindex .hg/data/anotherfile.i |
|
47 | 47 | hg debugindex .hg/data/fred.i |
|
48 | 48 | hg debugindex .hg/00manifest.i |
|
49 | 49 | hg verify |
|
50 | 50 | cd .. |
|
51 | 51 | for i in 0 1 2 3 4 5 6 7 8; do |
|
52 | 52 | hg clone -r "$i" test test-"$i" |
|
53 | 53 | cd test-"$i" |
|
54 | 54 | hg verify |
|
55 | 55 | cd .. |
|
56 | 56 | done |
|
57 | 57 | cd test-8 |
|
58 | 58 | hg pull ../test-7 |
|
59 | 59 | hg verify |
@@ -1,61 +1,61 b'' | |||
|
1 |
#!/bin/ |
|
|
1 | #!/bin/sh | |
|
2 | 2 | |
|
3 | 3 | hg init test |
|
4 | 4 | cd test |
|
5 | 5 | cat >>afile <<EOF |
|
6 | 6 | 0 |
|
7 | 7 | EOF |
|
8 | 8 | hg add afile |
|
9 | 9 | hg commit -m "0.0" |
|
10 | 10 | cat >>afile <<EOF |
|
11 | 11 | 1 |
|
12 | 12 | EOF |
|
13 | 13 | hg commit -m "0.1" |
|
14 | 14 | cat >>afile <<EOF |
|
15 | 15 | 2 |
|
16 | 16 | EOF |
|
17 | 17 | hg commit -m "0.2" |
|
18 | 18 | cat >>afile <<EOF |
|
19 | 19 | 3 |
|
20 | 20 | EOF |
|
21 | 21 | hg commit -m "0.3" |
|
22 | 22 | hg update -C 0 |
|
23 | 23 | cat >>afile <<EOF |
|
24 | 24 | 1 |
|
25 | 25 | EOF |
|
26 | 26 | hg commit -m "1.1" |
|
27 | 27 | cat >>afile <<EOF |
|
28 | 28 | 2 |
|
29 | 29 | EOF |
|
30 | 30 | hg commit -m "1.2" |
|
31 | 31 | cat >fred <<EOF |
|
32 | 32 | a line |
|
33 | 33 | EOF |
|
34 | 34 | cat >>afile <<EOF |
|
35 | 35 | 3 |
|
36 | 36 | EOF |
|
37 | 37 | hg add fred |
|
38 | 38 | hg commit -m "1.3" |
|
39 | 39 | hg mv afile adifferentfile |
|
40 | 40 | hg commit -m "1.3m" |
|
41 | 41 | hg update -C 3 |
|
42 | 42 | hg mv afile anotherfile |
|
43 | 43 | hg commit -m "0.3m" |
|
44 | 44 | hg debugindex .hg/data/afile.i |
|
45 | 45 | hg debugindex .hg/data/adifferentfile.i |
|
46 | 46 | hg debugindex .hg/data/anotherfile.i |
|
47 | 47 | hg debugindex .hg/data/fred.i |
|
48 | 48 | hg debugindex .hg/00manifest.i |
|
49 | 49 | hg verify |
|
50 | 50 | cd .. |
|
51 | 51 | for i in 0 1 2 3 4 5 6 7 8; do |
|
52 | 52 | mkdir test-"$i" |
|
53 | 53 | hg --cwd test-"$i" init |
|
54 | 54 | hg -R test push -r "$i" test-"$i" |
|
55 | 55 | cd test-"$i" |
|
56 | 56 | hg verify |
|
57 | 57 | cd .. |
|
58 | 58 | done |
|
59 | 59 | cd test-8 |
|
60 | 60 | hg pull ../test-7 |
|
61 | 61 | hg verify |
General Comments 0
You need to be logged in to leave comments.
Login now