##// END OF EJS Templates
Update tests to use commit -m and default -u...
mpm@selenic.com -
r749:7e4843b7 default
parent child Browse files
Show More
@@ -14,6 +14,9 b' export LC_TELEPHONE="C"'
14 export LC_MEASUREMENT="C"
14 export LC_MEASUREMENT="C"
15 export LC_IDENTIFICATION="C"
15 export LC_IDENTIFICATION="C"
16 export LC_ALL=""
16 export LC_ALL=""
17 export HGEDITOR=true
18 export HGMERGE=true
19 export HGUSER=test
17
20
18 umask 022
21 umask 022
19
22
@@ -2,11 +2,11 b''
2 hg init
2 hg init
3 echo This is file a1 > a
3 echo This is file a1 > a
4 hg add a
4 hg add a
5 hg commit -t "commit #0" -d "0 0" -u user
5 hg commit -m "commit #0" -d "0 0"
6 ls
6 ls
7 echo This is file b1 > b
7 echo This is file b1 > b
8 hg add b
8 hg add b
9 hg commit -t "commit #1" -d "0 0" -u user
9 hg commit -m "commit #1" -d "0 0"
10 hg co 0
10 hg co 0
11 # B should disappear
11 # B should disappear
12 ls
12 ls
@@ -1,12 +1,12 b''
1 + hg init
1 + hg init
2 + echo This is file a1
2 + echo This is file a1
3 + hg add a
3 + hg add a
4 + hg commit -t 'commit #0' -d '0 0' -u user
4 + hg commit -m 'commit #0' -d '0 0'
5 + ls
5 + ls
6 a
6 a
7 + echo This is file b1
7 + echo This is file b1
8 + hg add b
8 + hg add b
9 + hg commit -t 'commit #1' -d '0 0' -u user
9 + hg commit -m 'commit #1' -d '0 0'
10 + hg co 0
10 + hg co 0
11 + ls
11 + ls
12 a
12 a
@@ -6,7 +6,7 b' cd t'
6 hg init
6 hg init
7 echo a > a
7 echo a > a
8 hg add a
8 hg add a
9 hg commit -t "test" -u test -d "0 0"
9 hg commit -t test -d "0 0"
10 hg history
10 hg history
11 hg manifest
11 hg manifest
12 hg cat a
12 hg cat a
@@ -3,7 +3,7 b''
3 + hg init
3 + hg init
4 + echo a
4 + echo a
5 + hg add a
5 + hg add a
6 + hg commit -t test -u test -d '0 0'
6 + hg commit -t test -d '0 0'
7 + hg history
7 + hg history
8 changeset: 0:acb14030fe0a21b60322c440ad2d20cf7685a376
8 changeset: 0:acb14030fe0a21b60322c440ad2d20cf7685a376
9 tag: tip
9 tag: tip
@@ -6,7 +6,7 b' cd a'
6 hg init
6 hg init
7 echo a > a
7 echo a > a
8 hg add a
8 hg add a
9 hg commit -t test -u test -d '0 0'
9 hg commit -m test -d '0 0'
10
10
11 # Default operation
11 # Default operation
12 hg clone . ../b
12 hg clone . ../b
@@ -3,7 +3,7 b''
3 + hg init
3 + hg init
4 + echo a
4 + echo a
5 + hg add a
5 + hg add a
6 + hg commit -t test -u test -d '0 0'
6 + hg commit -m test -d '0 0'
7 + hg clone . ../b
7 + hg clone . ../b
8 + cd ../b
8 + cd ../b
9 + cat a
9 + cat a
@@ -4,12 +4,12 b' set -x'
4 hg init
4 hg init
5 echo "nothing" > a
5 echo "nothing" > a
6 hg add a
6 hg add a
7 hg commit -t ancestor -u test -d "0 0"
7 hg commit -m ancestor -d "0 0"
8 echo "something" > a
8 echo "something" > a
9 hg commit -t branch1 -u test -d "0 0"
9 hg commit -m branch1 -d "0 0"
10 hg co 0
10 hg co 0
11 echo "something else" > a
11 echo "something else" > a
12 hg commit -t branch2 -u test -d "0 0"
12 hg commit -m branch2 -d "0 0"
13 export HGMERGE=merge
13 export HGMERGE=merge
14 hg up -m 1
14 hg up -m 1
15 hg id
15 hg id
@@ -1,12 +1,12 b''
1 + hg init
1 + hg init
2 + echo nothing
2 + echo nothing
3 + hg add a
3 + hg add a
4 + hg commit -t ancestor -u test -d '0 0'
4 + hg commit -m ancestor -d '0 0'
5 + echo something
5 + echo something
6 + hg commit -t branch1 -u test -d '0 0'
6 + hg commit -m branch1 -d '0 0'
7 + hg co 0
7 + hg co 0
8 + echo 'something else'
8 + echo 'something else'
9 + hg commit -t branch2 -u test -d '0 0'
9 + hg commit -m branch2 -d '0 0'
10 + export HGMERGE=merge
10 + export HGMERGE=merge
11 + HGMERGE=merge
11 + HGMERGE=merge
12 + hg up -m 1
12 + hg up -m 1
@@ -4,12 +4,12 b' set -x'
4 hg init
4 hg init
5 echo a > a
5 echo a > a
6 hg add a
6 hg add a
7 hg commit -t "1" -u test -d "0 0"
7 hg commit -m "1" -d "0 0"
8 hg status
8 hg status
9 cp a b
9 cp a b
10 hg copy a b
10 hg copy a b
11 hg status
11 hg status
12 hg --debug commit -t "2" -u test -d "0 0"
12 hg --debug commit -m "2" -d "0 0"
13 hg history
13 hg history
14 hg log a
14 hg log a
15 hexdump -C .hg/data/b.d
15 hexdump -C .hg/data/b.d
@@ -1,7 +1,7 b''
1 + hg init
1 + hg init
2 + echo a
2 + echo a
3 + hg add a
3 + hg add a
4 + hg commit -t 1 -u test -d '0 0'
4 + hg commit -m 1 -d '0 0'
5 + hg status
5 + hg status
6 ? .out
6 ? .out
7 + cp a b
7 + cp a b
@@ -9,7 +9,7 b''
9 + hg status
9 + hg status
10 A b
10 A b
11 ? .out
11 ? .out
12 + hg --debug commit -t 2 -u test -d '0 0'
12 + hg --debug commit -m 2 -d '0 0'
13 b
13 b
14 b: copy a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
14 b: copy a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
15 + hg history
15 + hg history
@@ -3,7 +3,7 b''
3 hg init
3 hg init
4 touch a
4 touch a
5 hg add a
5 hg add a
6 hg ci -t "a" -u test -d "0 0"
6 hg ci -m "a" -d "0 0"
7
7
8 echo 123 > b
8 echo 123 > b
9 hg add b
9 hg add b
@@ -3,11 +3,11 b''
3 hg init
3 hg init
4 echo 123 > a
4 echo 123 > a
5 hg add a
5 hg add a
6 hg commit -t "first" -u test -d "0 0" a
6 hg commit -m "first" -d "0 0" a
7 mkdir sub
7 mkdir sub
8 echo 321 > sub/b
8 echo 321 > sub/b
9 hg add sub/b
9 hg add sub/b
10 hg commit -t "second" -u test -d "0 0" sub/b
10 hg commit -m "second" -d "0 0" sub/b
11 cat sub/b
11 cat sub/b
12 hg co 0
12 hg co 0
13 cat sub/b
13 cat sub/b
@@ -7,7 +7,7 b' cd test1'
7 hg init
7 hg init
8 touch a b
8 touch a b
9 hg add a b
9 hg add a b
10 hg ci -t "added a b" -u test -d "0 0"
10 hg ci -m "added a b" -d "0 0"
11
11
12 cd ..
12 cd ..
13 mkdir test2
13 mkdir test2
@@ -17,11 +17,11 b' hg init'
17 hg pull ../test1
17 hg pull ../test1
18 hg co
18 hg co
19 chmod +x a
19 chmod +x a
20 hg ci -t "chmod +x a" -u test -d "0 0"
20 hg ci -m "chmod +x a" -d "0 0"
21
21
22 cd ../test1
22 cd ../test1
23 echo 123 >>a
23 echo 123 >>a
24 hg ci -t "a updated" -u test -d "0 0"
24 hg ci -m "a updated" -d "0 0"
25
25
26 hg pull ../test2
26 hg pull ../test2
27 hg heads
27 hg heads
@@ -4,7 +4,7 b''
4 + hg init
4 + hg init
5 + touch a b
5 + touch a b
6 + hg add a b
6 + hg add a b
7 + hg ci -t 'added a b' -u test -d '0 0'
7 + hg ci -m 'added a b' -d '0 0'
8 + cd ..
8 + cd ..
9 + mkdir test2
9 + mkdir test2
10 + cd test2
10 + cd test2
@@ -19,10 +19,10 b' modified 2 files, added 1 changesets and'
19 (run 'hg update' to get a working copy)
19 (run 'hg update' to get a working copy)
20 + hg co
20 + hg co
21 + chmod +x a
21 + chmod +x a
22 + hg ci -t 'chmod +x a' -u test -d '0 0'
22 + hg ci -m 'chmod +x a' -d '0 0'
23 + cd ../test1
23 + cd ../test1
24 + echo 123
24 + echo 123
25 + hg ci -t 'a updated' -u test -d '0 0'
25 + hg ci -m 'a updated' -d '0 0'
26 + hg pull ../test2
26 + hg pull ../test2
27 pulling from ../test2
27 pulling from ../test2
28 searching for changes
28 searching for changes
@@ -6,4 +6,4 b" echo 'precommit = echo precommit hook' >"
6 echo 'commit = echo commit hook: $NODE' >> .hg/hgrc
6 echo 'commit = echo commit hook: $NODE' >> .hg/hgrc
7 echo a > a
7 echo a > a
8 hg add a
8 hg add a
9 hg commit -t "test" -u test -d "0 0"
9 hg commit -m "test" -d "0 0"
@@ -4,6 +4,6 b''
4 + echo 'commit = echo commit hook: $NODE'
4 + echo 'commit = echo commit hook: $NODE'
5 + echo a
5 + echo a
6 + hg add a
6 + hg add a
7 + hg commit -t test -u test -d '0 0'
7 + hg commit -m test -d '0 0'
8 precommit hook
8 precommit hook
9 commit hook: acb14030fe0a21b60322c440ad2d20cf7685a376
9 commit hook: acb14030fe0a21b60322c440ad2d20cf7685a376
@@ -11,15 +11,15 b' cd t'
11 hg init
11 hg init
12 echo This is file a1 > a
12 echo This is file a1 > a
13 hg add a
13 hg add a
14 hg commit -t "commit #0" -d "0 0" -u user
14 hg commit -m "commit #0" -d "0 0"
15 echo This is file b1 > b
15 echo This is file b1 > b
16 hg add b
16 hg add b
17 hg commit -t "commit #1" -d "0 0" -u user
17 hg commit -m "commit #1" -d "0 0"
18
18
19 hg update 0
19 hg update 0
20 echo This is file c1 > c
20 echo This is file c1 > c
21 hg add c
21 hg add c
22 hg commit -t "commit #2" -d "0 0" -u user
22 hg commit -m "commit #2" -d "0 0"
23 echo This is file b1 > b
23 echo This is file b1 > b
24 env HGMERGE=../merge hg update -m 1
24 env HGMERGE=../merge hg update -m 1
25 # no merges expected
25 # no merges expected
@@ -30,15 +30,15 b' cd t'
30 hg init
30 hg init
31 echo This is file a1 > a
31 echo This is file a1 > a
32 hg add a
32 hg add a
33 hg commit -t "commit #0" -d "0 0" -u user
33 hg commit -m "commit #0" -d "0 0"
34 echo This is file b1 > b
34 echo This is file b1 > b
35 hg add b
35 hg add b
36 hg commit -t "commit #1" -d "0 0" -u user
36 hg commit -m "commit #1" -d "0 0"
37
37
38 hg update 0
38 hg update 0
39 echo This is file c1 > c
39 echo This is file c1 > c
40 hg add c
40 hg add c
41 hg commit -t "commit #2" -d "0 0" -u user
41 hg commit -m "commit #2" -d "0 0"
42 echo This is file b2 > b
42 echo This is file b2 > b
43 env HGMERGE=../merge hg update -m 1
43 env HGMERGE=../merge hg update -m 1
44 # merge of b expected
44 # merge of b expected
@@ -49,16 +49,16 b' cd t'
49 hg init
49 hg init
50 echo This is file a1 > a
50 echo This is file a1 > a
51 hg add a
51 hg add a
52 hg commit -t "commit #0" -d "0 0" -u user
52 hg commit -m "commit #0" -d "0 0"
53 echo This is file b1 > b
53 echo This is file b1 > b
54 hg add b
54 hg add b
55 hg commit -t "commit #1" -d "0 0" -u user
55 hg commit -m "commit #1" -d "0 0"
56 echo This is file b22 > b
56 echo This is file b22 > b
57 hg commit -t "commit #2" -d "0 0" -u user
57 hg commit -m "commit #2" -d "0 0"
58 hg update 1
58 hg update 1
59 echo This is file c1 > c
59 echo This is file c1 > c
60 hg add c
60 hg add c
61 hg commit -t "commit #3" -d "0 0" -u user
61 hg commit -m "commit #3" -d "0 0"
62 cat b
62 cat b
63 echo This is file b22 > b
63 echo This is file b22 > b
64 env HGMERGE=../merge hg update -m 2
64 env HGMERGE=../merge hg update -m 2
@@ -70,16 +70,16 b' cd t'
70 hg init
70 hg init
71 echo This is file a1 > a
71 echo This is file a1 > a
72 hg add a
72 hg add a
73 hg commit -t "commit #0" -d "0 0" -u user
73 hg commit -m "commit #0" -d "0 0"
74 echo This is file b1 > b
74 echo This is file b1 > b
75 hg add b
75 hg add b
76 hg commit -t "commit #1" -d "0 0" -u user
76 hg commit -m "commit #1" -d "0 0"
77 echo This is file b22 > b
77 echo This is file b22 > b
78 hg commit -t "commit #2" -d "0 0" -u user
78 hg commit -m "commit #2" -d "0 0"
79 hg update 1
79 hg update 1
80 echo This is file c1 > c
80 echo This is file c1 > c
81 hg add c
81 hg add c
82 hg commit -t "commit #3" -d "0 0" -u user
82 hg commit -m "commit #3" -d "0 0"
83 echo This is file b33 > b
83 echo This is file b33 > b
84 env HGMERGE=../merge hg update -m 2
84 env HGMERGE=../merge hg update -m 2
85 # merge of b expected
85 # merge of b expected
@@ -5,14 +5,14 b''
5 + hg init
5 + hg init
6 + echo This is file a1
6 + echo This is file a1
7 + hg add a
7 + hg add a
8 + hg commit -t 'commit #0' -d '0 0' -u user
8 + hg commit -m 'commit #0' -d '0 0'
9 + echo This is file b1
9 + echo This is file b1
10 + hg add b
10 + hg add b
11 + hg commit -t 'commit #1' -d '0 0' -u user
11 + hg commit -m 'commit #1' -d '0 0'
12 + hg update 0
12 + hg update 0
13 + echo This is file c1
13 + echo This is file c1
14 + hg add c
14 + hg add c
15 + hg commit -t 'commit #2' -d '0 0' -u user
15 + hg commit -m 'commit #2' -d '0 0'
16 + echo This is file b1
16 + echo This is file b1
17 + env HGMERGE=../merge hg update -m 1
17 + env HGMERGE=../merge hg update -m 1
18 + cd ..
18 + cd ..
@@ -22,14 +22,14 b''
22 + hg init
22 + hg init
23 + echo This is file a1
23 + echo This is file a1
24 + hg add a
24 + hg add a
25 + hg commit -t 'commit #0' -d '0 0' -u user
25 + hg commit -m 'commit #0' -d '0 0'
26 + echo This is file b1
26 + echo This is file b1
27 + hg add b
27 + hg add b
28 + hg commit -t 'commit #1' -d '0 0' -u user
28 + hg commit -m 'commit #1' -d '0 0'
29 + hg update 0
29 + hg update 0
30 + echo This is file c1
30 + echo This is file c1
31 + hg add c
31 + hg add c
32 + hg commit -t 'commit #2' -d '0 0' -u user
32 + hg commit -m 'commit #2' -d '0 0'
33 + echo This is file b2
33 + echo This is file b2
34 + env HGMERGE=../merge hg update -m 1
34 + env HGMERGE=../merge hg update -m 1
35 merging for b
35 merging for b
@@ -41,16 +41,16 b' merging b'
41 + hg init
41 + hg init
42 + echo This is file a1
42 + echo This is file a1
43 + hg add a
43 + hg add a
44 + hg commit -t 'commit #0' -d '0 0' -u user
44 + hg commit -m 'commit #0' -d '0 0'
45 + echo This is file b1
45 + echo This is file b1
46 + hg add b
46 + hg add b
47 + hg commit -t 'commit #1' -d '0 0' -u user
47 + hg commit -m 'commit #1' -d '0 0'
48 + echo This is file b22
48 + echo This is file b22
49 + hg commit -t 'commit #2' -d '0 0' -u user
49 + hg commit -m 'commit #2' -d '0 0'
50 + hg update 1
50 + hg update 1
51 + echo This is file c1
51 + echo This is file c1
52 + hg add c
52 + hg add c
53 + hg commit -t 'commit #3' -d '0 0' -u user
53 + hg commit -m 'commit #3' -d '0 0'
54 + cat b
54 + cat b
55 This is file b1
55 This is file b1
56 + echo This is file b22
56 + echo This is file b22
@@ -64,16 +64,16 b' merging b'
64 + hg init
64 + hg init
65 + echo This is file a1
65 + echo This is file a1
66 + hg add a
66 + hg add a
67 + hg commit -t 'commit #0' -d '0 0' -u user
67 + hg commit -m 'commit #0' -d '0 0'
68 + echo This is file b1
68 + echo This is file b1
69 + hg add b
69 + hg add b
70 + hg commit -t 'commit #1' -d '0 0' -u user
70 + hg commit -m 'commit #1' -d '0 0'
71 + echo This is file b22
71 + echo This is file b22
72 + hg commit -t 'commit #2' -d '0 0' -u user
72 + hg commit -m 'commit #2' -d '0 0'
73 + hg update 1
73 + hg update 1
74 + echo This is file c1
74 + echo This is file c1
75 + hg add c
75 + hg add c
76 + hg commit -t 'commit #3' -d '0 0' -u user
76 + hg commit -m 'commit #3' -d '0 0'
77 + echo This is file b33
77 + echo This is file b33
78 + env HGMERGE=../merge hg update -m 2
78 + env HGMERGE=../merge hg update -m 2
79 merging for b
79 merging for b
@@ -5,15 +5,15 b' cd t'
5 hg init
5 hg init
6 echo This is file a1 > a
6 echo This is file a1 > a
7 hg add a
7 hg add a
8 hg commit -t "commit #0" -d "0 0" -u user
8 hg commit -m "commit #0" -d "0 0"
9 echo This is file b1 > b
9 echo This is file b1 > b
10 hg add b
10 hg add b
11 hg commit -t "commit #1" -d "0 0" -u user
11 hg commit -m "commit #1" -d "0 0"
12 rm b
12 rm b
13 hg update 0
13 hg update 0
14 echo This is file b2 > b
14 echo This is file b2 > b
15 hg add b
15 hg add b
16 hg commit -t "commit #2" -d "0 0" -u user
16 hg commit -m "commit #2" -d "0 0"
17 cd ..; /bin/rm -rf t
17 cd ..; /bin/rm -rf t
18
18
19 mkdir t
19 mkdir t
@@ -21,14 +21,14 b' cd t'
21 hg init
21 hg init
22 echo This is file a1 > a
22 echo This is file a1 > a
23 hg add a
23 hg add a
24 hg commit -t "commit #0" -d "0 0" -u user
24 hg commit -m "commit #0" -d "0 0"
25 echo This is file b1 > b
25 echo This is file b1 > b
26 hg add b
26 hg add b
27 hg commit -t "commit #1" -d "0 0" -u user
27 hg commit -m "commit #1" -d "0 0"
28 rm b
28 rm b
29 hg update 0
29 hg update 0
30 echo This is file b2 > b
30 echo This is file b2 > b
31 hg commit -A -t "commit #2" -d "0 0" -u user
31 hg commit -A -m "commit #2" -d "0 0"
32 cd ..; /bin/rm -rf t
32 cd ..; /bin/rm -rf t
33
33
34 mkdir t
34 mkdir t
@@ -36,13 +36,13 b' cd t'
36 hg init
36 hg init
37 echo This is file a1 > a
37 echo This is file a1 > a
38 hg add a
38 hg add a
39 hg commit -t "commit #0" -d "0 0" -u user
39 hg commit -m "commit #0" -d "0 0"
40 echo This is file b1 > b
40 echo This is file b1 > b
41 hg add b
41 hg add b
42 hg commit -t "commit #1" -d "0 0" -u user
42 hg commit -m "commit #1" -d "0 0"
43 rm b
43 rm b
44 hg remove b
44 hg remove b
45 hg update 0
45 hg update 0
46 echo This is file b2 > b
46 echo This is file b2 > b
47 hg commit -A -t "commit #2" -d "0 0" -u user
47 hg commit -A -m "commit #2" -d "0 0"
48 cd ..; /bin/rm -rf t
48 cd ..; /bin/rm -rf t
@@ -3,15 +3,15 b''
3 + hg init
3 + hg init
4 + echo This is file a1
4 + echo This is file a1
5 + hg add a
5 + hg add a
6 + hg commit -t 'commit #0' -d '0 0' -u user
6 + hg commit -m 'commit #0' -d '0 0'
7 + echo This is file b1
7 + echo This is file b1
8 + hg add b
8 + hg add b
9 + hg commit -t 'commit #1' -d '0 0' -u user
9 + hg commit -m 'commit #1' -d '0 0'
10 + rm b
10 + rm b
11 + hg update 0
11 + hg update 0
12 + echo This is file b2
12 + echo This is file b2
13 + hg add b
13 + hg add b
14 + hg commit -t 'commit #2' -d '0 0' -u user
14 + hg commit -m 'commit #2' -d '0 0'
15 + cd ..
15 + cd ..
16 + /bin/rm -rf t
16 + /bin/rm -rf t
17 + mkdir t
17 + mkdir t
@@ -19,14 +19,14 b''
19 + hg init
19 + hg init
20 + echo This is file a1
20 + echo This is file a1
21 + hg add a
21 + hg add a
22 + hg commit -t 'commit #0' -d '0 0' -u user
22 + hg commit -m 'commit #0' -d '0 0'
23 + echo This is file b1
23 + echo This is file b1
24 + hg add b
24 + hg add b
25 + hg commit -t 'commit #1' -d '0 0' -u user
25 + hg commit -m 'commit #1' -d '0 0'
26 + rm b
26 + rm b
27 + hg update 0
27 + hg update 0
28 + echo This is file b2
28 + echo This is file b2
29 + hg commit -A -t 'commit #2' -d '0 0' -u user
29 + hg commit -A -m 'commit #2' -d '0 0'
30 + cd ..
30 + cd ..
31 + /bin/rm -rf t
31 + /bin/rm -rf t
32 + mkdir t
32 + mkdir t
@@ -34,14 +34,14 b''
34 + hg init
34 + hg init
35 + echo This is file a1
35 + echo This is file a1
36 + hg add a
36 + hg add a
37 + hg commit -t 'commit #0' -d '0 0' -u user
37 + hg commit -m 'commit #0' -d '0 0'
38 + echo This is file b1
38 + echo This is file b1
39 + hg add b
39 + hg add b
40 + hg commit -t 'commit #1' -d '0 0' -u user
40 + hg commit -m 'commit #1' -d '0 0'
41 + rm b
41 + rm b
42 + hg remove b
42 + hg remove b
43 + hg update 0
43 + hg update 0
44 + echo This is file b2
44 + echo This is file b2
45 + hg commit -A -t 'commit #2' -d '0 0' -u user
45 + hg commit -A -m 'commit #2' -d '0 0'
46 + cd ..
46 + cd ..
47 + /bin/rm -rf t
47 + /bin/rm -rf t
@@ -3,8 +3,8 b''
3 hg init
3 hg init
4 echo This is file a1 > a
4 echo This is file a1 > a
5 hg add a
5 hg add a
6 hg commit -t "commit #0" -d "0 0" -u user
6 hg commit -m "commit #0" -d "0 0"
7 touch b
7 touch b
8 hg add b
8 hg add b
9 rm b
9 rm b
10 hg commit -A -t"comment #1" -d "0 0" -u user
10 hg commit -A -m"comment #1" -d "0 0"
@@ -1,9 +1,9 b''
1 + hg init
1 + hg init
2 + echo This is file a1
2 + echo This is file a1
3 + hg add a
3 + hg add a
4 + hg commit -t 'commit #0' -d '0 0' -u user
4 + hg commit -m 'commit #0' -d '0 0'
5 + touch b
5 + touch b
6 + hg add b
6 + hg add b
7 + rm b
7 + rm b
8 + hg commit -A '-tcomment #1' -d '0 0' -u user
8 + hg commit -A '-mcomment #1' -d '0 0'
9 b never committed!
9 b never committed!
@@ -3,15 +3,15 b''
3 hg init
3 hg init
4 echo This is file a1 > a
4 echo This is file a1 > a
5 hg add a
5 hg add a
6 hg commit -t "commit #0" -d "0 0" -u user
6 hg commit -m "commit #0" -d "0 0"
7 echo This is file b1 > b
7 echo This is file b1 > b
8 hg add b
8 hg add b
9 hg commit -t "commit #1" -d "0 0" -u user
9 hg commit -m "commit #1" -d "0 0"
10 hg update 0
10 hg update 0
11 echo This is file c1 > c
11 echo This is file c1 > c
12 hg add c
12 hg add c
13 hg commit -t "commit #2" -d "0 0" -u user
13 hg commit -m "commit #2" -d "0 0"
14 hg update -m 1
14 hg update -m 1
15 rm b
15 rm b
16 echo This is file c22 > c
16 echo This is file c22 > c
17 hg commit -t "commit #3" -d "0 0" -u user
17 hg commit -m "commit #3" -d "0 0"
@@ -1,15 +1,15 b''
1 + hg init
1 + hg init
2 + echo This is file a1
2 + echo This is file a1
3 + hg add a
3 + hg add a
4 + hg commit -t 'commit #0' -d '0 0' -u user
4 + hg commit -m 'commit #0' -d '0 0'
5 + echo This is file b1
5 + echo This is file b1
6 + hg add b
6 + hg add b
7 + hg commit -t 'commit #1' -d '0 0' -u user
7 + hg commit -m 'commit #1' -d '0 0'
8 + hg update 0
8 + hg update 0
9 + echo This is file c1
9 + echo This is file c1
10 + hg add c
10 + hg add c
11 + hg commit -t 'commit #2' -d '0 0' -u user
11 + hg commit -m 'commit #2' -d '0 0'
12 + hg update -m 1
12 + hg update -m 1
13 + rm b
13 + rm b
14 + echo This is file c22
14 + echo This is file c22
15 + hg commit -t 'commit #3' -d '0 0' -u user
15 + hg commit -m 'commit #3' -d '0 0'
@@ -6,12 +6,12 b' hg init'
6 echo This is file a1 > a
6 echo This is file a1 > a
7 echo This is file b1 > b
7 echo This is file b1 > b
8 hg add a b
8 hg add a b
9 hg commit -t "commit #0" -d "0 0" -u user
9 hg commit -m "commit #0" -d "0 0"
10 echo This is file b22 > b
10 echo This is file b22 > b
11 hg commit -t"comment #1" -d "0 0" -u user
11 hg commit -m"comment #1" -d "0 0"
12 hg update 0
12 hg update 0
13 rm b
13 rm b
14 hg commit -A -t"comment #2" -d "0 0" -u user
14 hg commit -A -m"comment #2" -d "0 0"
15 # in theory, we shouldn't need the "yes k" below, but it prevents
15 # in theory, we shouldn't need the "yes k" below, but it prevents
16 # this test from hanging when "hg update" erroneously prompts the
16 # this test from hanging when "hg update" erroneously prompts the
17 # user for "keep or delete"
17 # user for "keep or delete"
@@ -4,12 +4,12 b''
4 + echo This is file a1
4 + echo This is file a1
5 + echo This is file b1
5 + echo This is file b1
6 + hg add a b
6 + hg add a b
7 + hg commit -t 'commit #0' -d '0 0' -u user
7 + hg commit -m 'commit #0' -d '0 0'
8 + echo This is file b22
8 + echo This is file b22
9 + hg commit '-tcomment #1' -d '0 0' -u user
9 + hg commit '-mcomment #1' -d '0 0'
10 + hg update 0
10 + hg update 0
11 + rm b
11 + rm b
12 + hg commit -A '-tcomment #2' -d '0 0' -u user
12 + hg commit -A '-mcomment #2' -d '0 0'
13 + yes k
13 + yes k
14 + hg update 1
14 + hg update 1
15 this update spans a branch affecting the following files:
15 this update spans a branch affecting the following files:
@@ -13,7 +13,7 b' hg init'
13 echo This is file foo1 > foo
13 echo This is file foo1 > foo
14 echo This is file bar1 > bar
14 echo This is file bar1 > bar
15 hg add foo bar
15 hg add foo bar
16 hg commit -t "commit text" -d "0 0" -u user
16 hg commit -m "commit text" -d "0 0"
17
17
18 cd ..
18 cd ..
19 hg clone A1 B1
19 hg clone A1 B1
@@ -21,11 +21,11 b' hg clone A1 B1'
21 cd A1
21 cd A1
22 rm bar
22 rm bar
23 hg remove bar
23 hg remove bar
24 hg commit -t "commit test" -d "0 0" -u user
24 hg commit -m "commit test" -d "0 0"
25
25
26 cd ../B1
26 cd ../B1
27 echo This is file foo22 > foo
27 echo This is file foo22 > foo
28 hg commit -t "commit test" -d "0 0" -u user
28 hg commit -m "commit test" -d "0 0"
29
29
30 cd ..
30 cd ..
31 hg clone A1 A2
31 hg clone A1 A2
@@ -34,13 +34,13 b' hg clone B1 B2'
34 cd A1
34 cd A1
35 hg pull ../B1
35 hg pull ../B1
36 hg update -m
36 hg update -m
37 hg commit -t "commit test" -d "0 0" -u user
37 hg commit -m "commit test" -d "0 0"
38 echo bar should remain deleted.
38 echo bar should remain deleted.
39 hg manifest
39 hg manifest
40
40
41 cd ../B2
41 cd ../B2
42 hg pull ../A2
42 hg pull ../A2
43 hg update -m
43 hg update -m
44 hg commit -t "commit test" -d "0 0" -u user
44 hg commit -m "commit test" -d "0 0"
45 echo bar should remain deleted.
45 echo bar should remain deleted.
46 hg manifest
46 hg manifest
@@ -8,16 +8,16 b''
8 + echo This is file foo1
8 + echo This is file foo1
9 + echo This is file bar1
9 + echo This is file bar1
10 + hg add foo bar
10 + hg add foo bar
11 + hg commit -t 'commit text' -d '0 0' -u user
11 + hg commit -m 'commit text' -d '0 0'
12 + cd ..
12 + cd ..
13 + hg clone A1 B1
13 + hg clone A1 B1
14 + cd A1
14 + cd A1
15 + rm bar
15 + rm bar
16 + hg remove bar
16 + hg remove bar
17 + hg commit -t 'commit test' -d '0 0' -u user
17 + hg commit -m 'commit test' -d '0 0'
18 + cd ../B1
18 + cd ../B1
19 + echo This is file foo22
19 + echo This is file foo22
20 + hg commit -t 'commit test' -d '0 0' -u user
20 + hg commit -m 'commit test' -d '0 0'
21 + cd ..
21 + cd ..
22 + hg clone A1 A2
22 + hg clone A1 A2
23 + hg clone B1 B2
23 + hg clone B1 B2
@@ -31,7 +31,7 b' adding file revisions'
31 modified 1 files, added 1 changesets and 1 new revisions
31 modified 1 files, added 1 changesets and 1 new revisions
32 (run 'hg update' to get a working copy)
32 (run 'hg update' to get a working copy)
33 + hg update -m
33 + hg update -m
34 + hg commit -t 'commit test' -d '0 0' -u user
34 + hg commit -m 'commit test' -d '0 0'
35 + echo bar should remain deleted.
35 + echo bar should remain deleted.
36 bar should remain deleted.
36 bar should remain deleted.
37 + hg manifest
37 + hg manifest
@@ -46,7 +46,7 b' adding file revisions'
46 modified 0 files, added 1 changesets and 0 new revisions
46 modified 0 files, added 1 changesets and 0 new revisions
47 (run 'hg update' to get a working copy)
47 (run 'hg update' to get a working copy)
48 + hg update -m
48 + hg update -m
49 + hg commit -t 'commit test' -d '0 0' -u user
49 + hg commit -m 'commit test' -d '0 0'
50 + echo bar should remain deleted.
50 + echo bar should remain deleted.
51 bar should remain deleted.
51 bar should remain deleted.
52 + hg manifest
52 + hg manifest
@@ -5,7 +5,7 b' cd test'
5 echo foo>foo
5 echo foo>foo
6 hg init
6 hg init
7 hg addremove
7 hg addremove
8 hg commit -t "1"
8 hg commit -m 1
9 hg verify
9 hg verify
10 hg serve -p 20059 > /dev/null &
10 hg serve -p 20059 > /dev/null &
11 cd ..
11 cd ..
@@ -2,32 +2,32 b''
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
@@ -1,83 +1,83 b''
1 + hg --debug init
1 + hg --debug init
2 + echo this is a1
2 + echo this is a1
3 + hg add a
3 + hg add a
4 + hg commit -t0 -d '0 0' -u user
4 + hg commit -m0 -d '0 0'
5 + echo this is b1
5 + echo this is b1
6 + hg add b
6 + hg add b
7 + hg commit -t1 -d '0 0' -u user
7 + hg commit -m1 -d '0 0'
8 + hg manifest 1
8 + hg manifest 1
9 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
9 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
10 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
10 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
11 + echo this is c1
11 + echo this is c1
12 + hg rawcommit -p 1 -d '0 0' -u user -t2 c
12 + hg rawcommit -p 1 -d '0 0' -m2 c
13 + hg manifest 2
13 + hg manifest 2
14 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
14 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
15 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
15 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
16 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
16 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
17 + hg parents
17 + hg parents
18 changeset: 2:c4ef0ef0554dff3ceade68d75539e4f208a2be0a
18 changeset: 2:9f827976dae422d883af3cedc7a849c3e41a9b96
19 tag: tip
19 tag: tip
20 user: user
20 user: test
21 date: Thu Jan 1 00:00:00 1970
21 date: Thu Jan 1 00:00:00 1970
22 summary: 2
22 summary: 2
23
23
24 + rm b
24 + rm b
25 + hg rawcommit -p 2 -d '0 0' -u user -t3 b
25 + hg rawcommit -p 2 -d '0 0' -m3 b
26 + hg manifest 3
26 + hg manifest 3
27 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
27 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
28 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
28 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
29 + hg parents
29 + hg parents
30 changeset: 3:923669243607c26c4c8f0c11f48c1182ce1a7aff
30 changeset: 3:c8225a10618652ed2048e5ec0e917a92e50b9032
31 tag: tip
31 tag: tip
32 user: user
32 user: test
33 date: Thu Jan 1 00:00:00 1970
33 date: Thu Jan 1 00:00:00 1970
34 summary: 3
34 summary: 3
35
35
36 + echo this is a22
36 + echo this is a22
37 + hg rawcommit -p 3 -d '0 0' -u user -t4 a
37 + hg rawcommit -p 3 -d '0 0' -m4 a
38 + hg manifest 4
38 + hg manifest 4
39 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
39 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
40 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
40 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
41 + hg parents
41 + hg parents
42 changeset: 4:2361ec7b1da5142bce1285c50f3bb2960706263d
42 changeset: 4:8dfeee82a94bbe13e5f3ca5eee08058269af87c1
43 tag: tip
43 tag: tip
44 user: user
44 user: test
45 date: Thu Jan 1 00:00:00 1970
45 date: Thu Jan 1 00:00:00 1970
46 summary: 4
46 summary: 4
47
47
48 + echo this is c22
48 + echo this is c22
49 + hg rawcommit -p 1 -d '0 0' -u user -t5 c
49 + hg rawcommit -p 1 -d '0 0' -m5 c
50 + hg manifest 5
50 + hg manifest 5
51 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
51 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
52 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
52 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
53 3570202ceac2b52517df64ebd0a062cb0d8fe33a 644 c
53 3570202ceac2b52517df64ebd0a062cb0d8fe33a 644 c
54 + hg parents
54 + hg parents
55 changeset: 4:2361ec7b1da5142bce1285c50f3bb2960706263d
55 changeset: 4:8dfeee82a94bbe13e5f3ca5eee08058269af87c1
56 user: user
56 user: test
57 date: Thu Jan 1 00:00:00 1970
57 date: Thu Jan 1 00:00:00 1970
58 summary: 4
58 summary: 4
59
59
60 + hg rawcommit -p 4 -p 5 -d '0 0' -u user -t6
60 + hg rawcommit -p 4 -p 5 -d '0 0' -m6
61 + hg manifest 6
61 + hg manifest 6
62 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
62 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
63 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
63 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
64 + hg parents
64 + hg parents
65 changeset: 6:aaf55aee7b6249fd7d4ba295d98c4492ec2740d7
65 changeset: 6:c0e932ecae5eb7d8d2af2659f3ab03dbe4a9ff7c
66 tag: tip
66 tag: tip
67 parent: 4:2361ec7b1da5142bce1285c50f3bb2960706263d
67 parent: 4:8dfeee82a94bbe13e5f3ca5eee08058269af87c1
68 parent: 5:f8292b00383d88b470efcb2ea9c71409832ec9d6
68 parent: 5:a7925a42d0df7b35e14ecd7bf12ed6bbc776e9df
69 user: user
69 user: test
70 date: Thu Jan 1 00:00:00 1970
70 date: Thu Jan 1 00:00:00 1970
71 summary: 6
71 summary: 6
72
72
73 + hg rawcommit -p 6 -d '0 0' -u user -t7
73 + hg rawcommit -p 6 -d '0 0' -m7
74 + hg manifest 7
74 + hg manifest 7
75 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
75 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
76 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
76 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
77 + hg parents
77 + hg parents
78 changeset: 7:836ff890ac9ecb8c4b7c209b3e8b93f8805ca5f0
78 changeset: 7:3a157da4365dc1966cf9a032b0113fd8613d7865
79 tag: tip
79 tag: tip
80 user: user
80 user: test
81 date: Thu Jan 1 00:00:00 1970
81 date: Thu Jan 1 00:00:00 1970
82 summary: 7
82 summary: 7
83
83
@@ -7,14 +7,14 b' cd test'
7 echo foo>foo
7 echo foo>foo
8 hg init
8 hg init
9 hg addremove
9 hg addremove
10 hg commit -t "1"
10 hg commit -m "1"
11 hg verify
11 hg verify
12
12
13 hg clone . ../branch
13 hg clone . ../branch
14 cd ../branch
14 cd ../branch
15 hg co
15 hg co
16 echo bar>>foo
16 echo bar>>foo
17 hg commit -t "2"
17 hg commit -m "2"
18
18
19 cd ../test
19 cd ../test
20 hg pull ../branch
20 hg pull ../branch
@@ -3,7 +3,7 b''
3 + echo foo
3 + echo foo
4 + hg init
4 + hg init
5 + hg addremove
5 + hg addremove
6 + hg commit -t 1
6 + hg commit -m 1
7 + hg verify
7 + hg verify
8 checking changesets
8 checking changesets
9 checking manifests
9 checking manifests
@@ -14,7 +14,7 b' 1 files, 1 changesets, 1 total revisions'
14 + cd ../branch
14 + cd ../branch
15 + hg co
15 + hg co
16 + echo bar
16 + echo bar
17 + hg commit -t 2
17 + hg commit -m 2
18 + cd ../test
18 + cd ../test
19 + hg pull ../branch
19 + hg pull ../branch
20 pulling from ../branch
20 pulling from ../branch
@@ -3,11 +3,11 b''
3 hg init
3 hg init
4 echo a > a
4 echo a > a
5 hg add a
5 hg add a
6 hg commit -t "test" -u test -d "0 0"
6 hg commit -m "test" -d "0 0"
7 hg history
7 hg history
8 hg tag -u test -d "0 0" "bleah"
8 hg tag -d "0 0" "bleah"
9 hg history
9 hg history
10
10
11 echo foo >> .hgtags
11 echo foo >> .hgtags
12 hg tag -u test -d "0 0" "bleah2" || echo "failed"
12 hg tag -d "0 0" "bleah2" || echo "failed"
13
13
@@ -1,7 +1,7 b''
1 + hg init
1 + hg init
2 + echo a
2 + echo a
3 + hg add a
3 + hg add a
4 + hg commit -t test -u test -d '0 0'
4 + hg commit -m test -d '0 0'
5 + hg history
5 + hg history
6 changeset: 0:acb14030fe0a21b60322c440ad2d20cf7685a376
6 changeset: 0:acb14030fe0a21b60322c440ad2d20cf7685a376
7 tag: tip
7 tag: tip
@@ -9,7 +9,7 b' user: test'
9 date: Thu Jan 1 00:00:00 1970
9 date: Thu Jan 1 00:00:00 1970
10 summary: test
10 summary: test
11
11
12 + hg tag -u test -d '0 0' bleah
12 + hg tag -d '0 0' bleah
13 + hg history
13 + hg history
14 changeset: 1:863197ef03781c4fc00276d83eb66c4cb9cd91df
14 changeset: 1:863197ef03781c4fc00276d83eb66c4cb9cd91df
15 tag: tip
15 tag: tip
@@ -24,7 +24,7 b' date: Thu Jan 1 00:00:00 1970'
24 summary: test
24 summary: test
25
25
26 + echo foo
26 + echo foo
27 + hg tag -u test -d '0 0' bleah2
27 + hg tag -d '0 0' bleah2
28 abort: working copy of .hgtags is changed!
28 abort: working copy of .hgtags is changed!
29 (please commit .hgtags manually)
29 (please commit .hgtags manually)
30 + echo failed
30 + echo failed
@@ -7,14 +7,14 b' hg init'
7 hg id
7 hg id
8 echo a > a
8 echo a > a
9 hg add a
9 hg add a
10 hg commit -t "test" -u test -d "0 0"
10 hg commit -m "test" -d "0 0"
11 hg co
11 hg co
12 hg identify
12 hg identify
13 T=`hg -q tip | cut -d : -f 2`
13 T=`hg -q tip | cut -d : -f 2`
14 echo "$T first" > .hgtags
14 echo "$T first" > .hgtags
15 cat .hgtags
15 cat .hgtags
16 hg add .hgtags
16 hg add .hgtags
17 hg commit -t "add tags" -u test -d "0 0"
17 hg commit -m "add tags" -d "0 0"
18 hg tags
18 hg tags
19 hg identify
19 hg identify
20 echo bb > a
20 echo bb > a
@@ -26,7 +26,7 b' hg -v id'
26 hg status
26 hg status
27 echo 1 > b
27 echo 1 > b
28 hg add b
28 hg add b
29 hg commit -t "branch" -u test -d "0 0"
29 hg commit -m "branch" -d "0 0"
30 hg id
30 hg id
31 hg co -m 1
31 hg co -m 1
32 hg id
32 hg id
@@ -5,7 +5,7 b''
5 unknown
5 unknown
6 + echo a
6 + echo a
7 + hg add a
7 + hg add a
8 + hg commit -t test -u test -d '0 0'
8 + hg commit -m test -d '0 0'
9 + hg co
9 + hg co
10 + hg identify
10 + hg identify
11 acb14030fe0a tip
11 acb14030fe0a tip
@@ -16,7 +16,7 b' acb14030fe0a tip'
16 + cat .hgtags
16 + cat .hgtags
17 acb14030fe0a21b60322c440ad2d20cf7685a376 first
17 acb14030fe0a21b60322c440ad2d20cf7685a376 first
18 + hg add .hgtags
18 + hg add .hgtags
19 + hg commit -t 'add tags' -u test -d '0 0'
19 + hg commit -m 'add tags' -d '0 0'
20 + hg tags
20 + hg tags
21 tip 1:b9154636be938d3d431e75a7c906504a079bfe07
21 tip 1:b9154636be938d3d431e75a7c906504a079bfe07
22 first 0:acb14030fe0a21b60322c440ad2d20cf7685a376
22 first 0:acb14030fe0a21b60322c440ad2d20cf7685a376
@@ -36,7 +36,7 b' acb14030fe0a21b60322c440ad2d20cf7685a376'
36 M a
36 M a
37 + echo 1
37 + echo 1
38 + hg add b
38 + hg add b
39 + hg commit -t branch -u test -d '0 0'
39 + hg commit -m branch -d '0 0'
40 + hg id
40 + hg id
41 c8edf04160c7 tip
41 c8edf04160c7 tip
42 + hg co -m 1
42 + hg co -m 1
@@ -6,7 +6,7 b' cd t'
6 hg init
6 hg init
7 echo a > a
7 echo a > a
8 hg add a
8 hg add a
9 hg commit -t "test" -u test -d "0 0"
9 hg commit -m "test" -d "0 0"
10 hg verify
10 hg verify
11 hg parents
11 hg parents
12 hg status
12 hg status
@@ -3,7 +3,7 b''
3 + hg init
3 + hg init
4 + echo a
4 + echo a
5 + hg add a
5 + hg add a
6 + hg commit -t test -u test -d '0 0'
6 + hg commit -m test -d '0 0'
7 + hg verify
7 + hg verify
8 checking changesets
8 checking changesets
9 checking manifests
9 checking manifests
@@ -1,9 +1,11 b''
1 #!/bin/sh
2
1 mkdir a
3 mkdir a
2 cd a
4 cd a
3 hg init
5 hg init
4 echo 123 > a
6 echo 123 > a
5 hg add a
7 hg add a
6 hg commit -t "a" -u a -d "0 0"
8 hg commit -m "a" -u a -d "0 0"
7
9
8 cd ..
10 cd ..
9 mkdir b
11 mkdir b
@@ -11,7 +13,7 b' cd b'
11 hg init
13 hg init
12 echo 321 > b
14 echo 321 > b
13 hg add b
15 hg add b
14 hg commit -t "b" -u b -d "0 0"
16 hg commit -m "b" -u b -d "0 0"
15
17
16 hg pull ../a
18 hg pull ../a
17 hg heads
19 hg heads
@@ -1,14 +1,12 b''
1 #!/bin/sh
1 #!/bin/sh
2
2
3 export HGMERGE=true
4
5 set -ex
3 set -ex
6 mkdir r1
4 mkdir r1
7 cd r1
5 cd r1
8 hg init
6 hg init
9 echo a > a
7 echo a > a
10 hg addremove
8 hg addremove
11 hg commit -t "1" -u test -d "0 0"
9 hg commit -m "1" -d "0 0"
12
10
13 hg clone . ../r2
11 hg clone . ../r2
14 cd ../r2
12 cd ../r2
@@ -21,7 +19,7 b' cd ../r1'
21 echo b > b
19 echo b > b
22 echo a2 > a
20 echo a2 > a
23 hg addremove
21 hg addremove
24 hg commit -t "2" -u test -d "0 0"
22 hg commit -m "2" -d "0 0"
25
23
26 cd ../r2
24 cd ../r2
27 hg -q pull ../r1
25 hg -q pull ../r1
@@ -3,7 +3,7 b''
3 + hg init
3 + hg init
4 + echo a
4 + echo a
5 + hg addremove
5 + hg addremove
6 + hg commit -t 1 -u test -d '0 0'
6 + hg commit -m 1 -d '0 0'
7 + hg clone . ../r2
7 + hg clone . ../r2
8 + cd ../r2
8 + cd ../r2
9 + hg up
9 + hg up
@@ -20,7 +20,7 b' diff -r c19d34741b0a a'
20 + echo b
20 + echo b
21 + echo a2
21 + echo a2
22 + hg addremove
22 + hg addremove
23 + hg commit -t 2 -u test -d '0 0'
23 + hg commit -m 2 -d '0 0'
24 + cd ../r2
24 + cd ../r2
25 + hg -q pull ../r1
25 + hg -q pull ../r1
26 + hg status
26 + hg status
General Comments 0
You need to be logged in to leave comments. Login now