##// END OF EJS Templates
small fixes for test-newbranch...
Alexis S. L. Carvalho -
r3760:aeafd80c default
parent child Browse files
Show More
@@ -1,33 +1,33
1 #!/bin/sh
1 #!/bin/sh
2
2
3 hg init t
3 hg init t
4 cd t
4 cd t
5 hg branches
5 hg branches
6
6
7 echo foo > a
7 echo foo > a
8 hg add a
8 hg add a
9 hg ci -m "initial" -d "0 0"
9 hg ci -m "initial" -d "1000000 0"
10 hg branch foo
10 hg branch foo
11 hg branch
11 hg branch
12 hg ci -m "add branch name" -d "0 0"
12 hg ci -m "add branch name" -d "1000000 0"
13 hg branch bar
13 hg branch bar
14 hg ci -m "change branch name" -d "0 0"
14 hg ci -m "change branch name" -d "1000000 0"
15 hg branch ""
15 hg branch ""
16 hg ci -m "clear branch name" -d "0 0"
16 hg ci -m "clear branch name" -d "1000000 0"
17
17
18 hg co foo
18 hg co foo
19 hg branch
19 hg branch
20 echo bleah > a
20 echo bleah > a
21 hg ci -m "modify a branch" -d "0 0"
21 hg ci -m "modify a branch" -d "1000000 0"
22
22
23 hg merge
23 hg merge
24 hg branch
24 hg branch
25 HG_MERGE=true hg ci -m "merge" -d "0 0"
25 hg ci -m "merge" -d "1000000 0"
26 hg log
26 hg log
27
27
28 hg branches
28 hg branches
29 hg branches -q
29 hg branches -q
30
30
31 echo % test for invalid branch cache
31 echo % test for invalid branch cache
32 hg rollback
32 hg rollback
33 hg tip
33 hg log -r foo
@@ -1,58 +1,58
1 foo
1 foo
2 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
2 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
3 foo
3 foo
4 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
4 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
5 (branch merge, don't forget to commit)
5 (branch merge, don't forget to commit)
6 foo
6 foo
7 changeset: 5:dc140083783b
7 changeset: 5:5f8fb06e083e
8 branch: foo
8 branch: foo
9 tag: tip
9 tag: tip
10 parent: 4:98d14f698afe
10 parent: 4:4909a3732169
11 parent: 3:9d567d0b51f9
11 parent: 3:bf1bc2f45e83
12 user: test
12 user: test
13 date: Thu Jan 01 00:00:00 1970 +0000
13 date: Mon Jan 12 13:46:40 1970 +0000
14 summary: merge
14 summary: merge
15
15
16 changeset: 4:98d14f698afe
16 changeset: 4:4909a3732169
17 branch: foo
17 branch: foo
18 parent: 1:0079f24813e2
18 parent: 1:b699b1cec9c2
19 user: test
19 user: test
20 date: Thu Jan 01 00:00:00 1970 +0000
20 date: Mon Jan 12 13:46:40 1970 +0000
21 summary: modify a branch
21 summary: modify a branch
22
22
23 changeset: 3:9d567d0b51f9
23 changeset: 3:bf1bc2f45e83
24 user: test
24 user: test
25 date: Thu Jan 01 00:00:00 1970 +0000
25 date: Mon Jan 12 13:46:40 1970 +0000
26 summary: clear branch name
26 summary: clear branch name
27
27
28 changeset: 2:ed2bbf4e0102
28 changeset: 2:67ec16bde7f1
29 branch: bar
29 branch: bar
30 user: test
30 user: test
31 date: Thu Jan 01 00:00:00 1970 +0000
31 date: Mon Jan 12 13:46:40 1970 +0000
32 summary: change branch name
32 summary: change branch name
33
33
34 changeset: 1:0079f24813e2
34 changeset: 1:b699b1cec9c2
35 branch: foo
35 branch: foo
36 user: test
36 user: test
37 date: Thu Jan 01 00:00:00 1970 +0000
37 date: Mon Jan 12 13:46:40 1970 +0000
38 summary: add branch name
38 summary: add branch name
39
39
40 changeset: 0:db01e8ea3388
40 changeset: 0:be8523e69bf8
41 user: test
41 user: test
42 date: Thu Jan 01 00:00:00 1970 +0000
42 date: Mon Jan 12 13:46:40 1970 +0000
43 summary: initial
43 summary: initial
44
44
45 foo 5:dc140083783b
45 foo 5:5f8fb06e083e
46 bar 2:ed2bbf4e0102
46 bar 2:67ec16bde7f1
47 foo
47 foo
48 bar
48 bar
49 % test for invalid branch cache
49 % test for invalid branch cache
50 rolling back last transaction
50 rolling back last transaction
51 changeset: 4:98d14f698afe
51 changeset: 4:4909a3732169
52 branch: foo
52 branch: foo
53 tag: tip
53 tag: tip
54 parent: 1:0079f24813e2
54 parent: 1:b699b1cec9c2
55 user: test
55 user: test
56 date: Thu Jan 01 00:00:00 1970 +0000
56 date: Mon Jan 12 13:46:40 1970 +0000
57 summary: modify a branch
57 summary: modify a branch
58
58
General Comments 0
You need to be logged in to leave comments. Login now