Show More
@@ -1,102 +1,102 | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 |
|
2 | |||
3 | mkdir -p t |
|
3 | mkdir -p t | |
4 | cd t |
|
4 | cd t | |
5 |
|
5 | |||
6 | cat <<'EOF' > merge |
|
6 | cat <<'EOF' > merge | |
7 | #!/bin/sh |
|
7 | #!/bin/sh | |
8 | echo merge > $1 |
|
8 | echo merge $1 $2 $3 > $1 | |
9 | EOF |
|
9 | EOF | |
10 | chmod +x merge |
|
10 | chmod +x merge | |
11 |
|
11 | |||
12 | # perform a test merge with possible renaming |
|
12 | # perform a test merge with possible renaming | |
13 | # |
|
13 | # | |
14 | # args: |
|
14 | # args: | |
15 | # $1 = action in local branch |
|
15 | # $1 = action in local branch | |
16 | # $2 = action in remote branch |
|
16 | # $2 = action in remote branch | |
17 | # $3 = action in working dir |
|
17 | # $3 = action in working dir | |
18 | # $4 = expected result |
|
18 | # $4 = expected result | |
19 | tm() |
|
19 | tm() | |
20 | { |
|
20 | { | |
21 | mkdir t |
|
21 | mkdir t | |
22 | cd t |
|
22 | cd t | |
23 | hg init |
|
23 | hg init | |
24 | echo "[merge]" >> .hg/hgrc |
|
24 | echo "[merge]" >> .hg/hgrc | |
25 | echo "followcopies = 1" >> .hg/hgrc |
|
25 | echo "followcopies = 1" >> .hg/hgrc | |
26 |
|
26 | |||
27 | # base |
|
27 | # base | |
28 | echo base > a |
|
28 | echo base > a | |
29 | echo base > rev # used to force commits |
|
29 | echo base > rev # used to force commits | |
30 | hg add a rev |
|
30 | hg add a rev | |
31 | hg ci -m "base" -d "0 0" |
|
31 | hg ci -m "base" -d "0 0" | |
32 |
|
32 | |||
33 | # remote |
|
33 | # remote | |
34 | echo remote > rev |
|
34 | echo remote > rev | |
35 | if [ "$2" != "" ] ; then $2 ; fi |
|
35 | if [ "$2" != "" ] ; then $2 ; fi | |
36 | hg ci -m "remote" -d "0 0" |
|
36 | hg ci -m "remote" -d "0 0" | |
37 |
|
37 | |||
38 | # local |
|
38 | # local | |
39 | hg co -q 0 |
|
39 | hg co -q 0 | |
40 | echo local > rev |
|
40 | echo local > rev | |
41 | if [ "$1" != "" ] ; then $1 ; fi |
|
41 | if [ "$1" != "" ] ; then $1 ; fi | |
42 | hg ci -m "local" -d "0 0" |
|
42 | hg ci -m "local" -d "0 0" | |
43 |
|
43 | |||
44 | # working dir |
|
44 | # working dir | |
45 | echo local > rev |
|
45 | echo local > rev | |
46 | if [ "$3" != "" ] ; then $3 ; fi |
|
46 | if [ "$3" != "" ] ; then $3 ; fi | |
47 |
|
47 | |||
48 | # merge |
|
48 | # merge | |
49 | echo "--------------" |
|
49 | echo "--------------" | |
50 | echo "test L:$1 R:$2 W:$3 - $4" |
|
50 | echo "test L:$1 R:$2 W:$3 - $4" | |
51 | echo "--------------" |
|
51 | echo "--------------" | |
52 | env HGMERGE=../merge hg merge -y --debug --traceback |
|
52 | env HGMERGE=../merge hg merge -y --debug --traceback | |
53 |
|
53 | |||
54 | echo "--------------" |
|
54 | echo "--------------" | |
55 | hg status -camC -X rev |
|
55 | hg status -camC -X rev | |
56 |
|
56 | |||
57 | hg ci -m "merge" -d "0 0" |
|
57 | hg ci -m "merge" -d "0 0" | |
58 |
|
58 | |||
59 | echo "--------------" |
|
59 | echo "--------------" | |
60 | echo |
|
60 | echo | |
61 |
|
61 | |||
62 | cd .. |
|
62 | cd .. | |
63 | rm -rf t |
|
63 | rm -rf t | |
64 | } |
|
64 | } | |
65 |
|
65 | |||
66 | up() { |
|
66 | up() { | |
67 | cp rev $1 |
|
67 | cp rev $1 | |
68 | hg add $1 2> /dev/null |
|
68 | hg add $1 2> /dev/null | |
69 | if [ "$2" != "" ] ; then |
|
69 | if [ "$2" != "" ] ; then | |
70 | cp rev $2 |
|
70 | cp rev $2 | |
71 | hg add $2 2> /dev/null |
|
71 | hg add $2 2> /dev/null | |
72 | fi |
|
72 | fi | |
73 | } |
|
73 | } | |
74 |
|
74 | |||
75 | uc() { up $1; hg cp $1 $2; } # update + copy |
|
75 | uc() { up $1; hg cp $1 $2; } # update + copy | |
76 | um() { up $1; hg mv $1 $2; } |
|
76 | um() { up $1; hg mv $1 $2; } | |
77 | nc() { hg cp $1 $2; } # just copy |
|
77 | nc() { hg cp $1 $2; } # just copy | |
78 | nm() { hg mv $1 $2; } # just move |
|
78 | nm() { hg mv $1 $2; } # just move | |
79 |
|
79 | |||
80 | tm "up a " "nc a b" " " "1 get local a to b" |
|
80 | tm "up a " "nc a b" " " "1 get local a to b" | |
81 | tm "nc a b" "up a " " " "2 get rem change to a and b" |
|
81 | tm "nc a b" "up a " " " "2 get rem change to a and b" | |
82 | tm "up a " "nm a b" " " "3 get local a change to b, remove a" |
|
82 | tm "up a " "nm a b" " " "3 get local a change to b, remove a" | |
83 | tm "nm a b" "up a " " " "4 get remote change to b" |
|
83 | tm "nm a b" "up a " " " "4 get remote change to b" | |
84 | tm " " "nc a b" " " "5 get b" |
|
84 | tm " " "nc a b" " " "5 get b" | |
85 | tm "nc a b" " " " " "6 nothing" |
|
85 | tm "nc a b" " " " " "6 nothing" | |
86 | tm " " "nm a b" " " "7 get b" |
|
86 | tm " " "nm a b" " " "7 get b" | |
87 | tm "nm a b" " " " " "8 nothing" |
|
87 | tm "nm a b" " " " " "8 nothing" | |
88 | tm "um a b" "um a b" " " "9 do merge with ancestor in a" |
|
88 | tm "um a b" "um a b" " " "9 do merge with ancestor in a" | |
89 | #tm "um a c" "um x c" " " "10 do merge with no ancestor" |
|
89 | #tm "um a c" "um x c" " " "10 do merge with no ancestor" | |
90 | tm "nm a b" "nm a c" " " "11 get c, keep b" |
|
90 | tm "nm a b" "nm a c" " " "11 get c, keep b" | |
91 | tm "nc a b" "up b " " " "12 merge b no ancestor" |
|
91 | tm "nc a b" "up b " " " "12 merge b no ancestor" | |
92 | tm "up b " "nm a b" " " "13 merge b no ancestor" |
|
92 | tm "up b " "nm a b" " " "13 merge b no ancestor" | |
93 | tm "nc a b" "up a b" " " "14 merge b no ancestor" |
|
93 | tm "nc a b" "up a b" " " "14 merge b no ancestor" | |
94 | tm "up b " "nm a b" " " "15 merge b no ancestor, remove a" |
|
94 | tm "up b " "nm a b" " " "15 merge b no ancestor, remove a" | |
95 | tm "nc a b" "up a b" " " "16 get a, merge b no ancestor" |
|
95 | tm "nc a b" "up a b" " " "16 get a, merge b no ancestor" | |
96 | tm "up a b" "nc a b" " " "17 keep a, merge b no ancestor" |
|
96 | tm "up a b" "nc a b" " " "17 keep a, merge b no ancestor" | |
97 | tm "nm a b" "up a b" " " "18 merge b no ancestor" |
|
97 | tm "nm a b" "up a b" " " "18 merge b no ancestor" | |
98 | tm "up a b" "nm a b" " " "19 merge b no ancestor, prompt remove a" |
|
98 | tm "up a b" "nm a b" " " "19 merge b no ancestor, prompt remove a" | |
99 | tm "up a " "um a b" " " "20 merge a and b to b, remove a" |
|
99 | tm "up a " "um a b" " " "20 merge a and b to b, remove a" | |
100 | tm "um a b" "up a " " " "21 merge a and b to b" |
|
100 | tm "um a b" "up a " " " "21 merge a and b to b" | |
101 | #tm "nm a b" "um x a" " " "22 get a, keep b" |
|
101 | #tm "nm a b" "um x a" " " "22 get a, keep b" | |
102 | tm "nm a b" "up a c" " " "23 get c, keep b" |
|
102 | tm "nm a b" "up a c" " " "23 get c, keep b" |
@@ -1,457 +1,457 | |||||
1 | -------------- |
|
1 | -------------- | |
2 | test L:up a R:nc a b W: - 1 get local a to b |
|
2 | test L:up a R:nc a b W: - 1 get local a to b | |
3 | -------------- |
|
3 | -------------- | |
4 | resolving manifests |
|
4 | resolving manifests | |
5 | overwrite None branchmerge True partial False |
|
5 | overwrite None branchmerge True partial False | |
6 | ancestor e300d1c794ec local 735846fee2d7 remote 924404dff337 |
|
6 | ancestor e300d1c794ec local 735846fee2d7 remote 924404dff337 | |
7 | rev: versions differ -> m |
|
7 | rev: versions differ -> m | |
8 | a: remote copied -> c |
|
8 | a: remote copied -> c | |
9 | merging a and b to b |
|
9 | merging a and b to b | |
10 | resolving a |
|
10 | resolving a | |
11 | my a@e300d1c794ec other b@735846fee2d7 ancestor a@924404dff337 |
|
11 | my a@e300d1c794ec other b@735846fee2d7 ancestor a@924404dff337 | |
12 | copying a to b |
|
12 | copying a to b | |
13 | merging rev |
|
13 | merging rev | |
14 | resolving rev |
|
14 | resolving rev | |
15 | my rev@e300d1c794ec other rev@735846fee2d7 ancestor rev@924404dff337 |
|
15 | my rev@e300d1c794ec other rev@735846fee2d7 ancestor rev@924404dff337 | |
16 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
16 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
17 | (branch merge, don't forget to commit) |
|
17 | (branch merge, don't forget to commit) | |
18 | -------------- |
|
18 | -------------- | |
|
19 | M a | |||
19 | M b |
|
20 | M b | |
20 | a |
|
21 | a | |
21 | C a |
|
|||
22 | -------------- |
|
22 | -------------- | |
23 |
|
23 | |||
24 | -------------- |
|
24 | -------------- | |
25 | test L:nc a b R:up a W: - 2 get rem change to a and b |
|
25 | test L:nc a b R:up a W: - 2 get rem change to a and b | |
26 | -------------- |
|
26 | -------------- | |
27 | resolving manifests |
|
27 | resolving manifests | |
28 | overwrite None branchmerge True partial False |
|
28 | overwrite None branchmerge True partial False | |
29 | ancestor ac809aeed39a local f4db7e329e71 remote 924404dff337 |
|
29 | ancestor ac809aeed39a local f4db7e329e71 remote 924404dff337 | |
30 | a: remote is newer -> g |
|
30 | a: remote is newer -> g | |
31 | b: local copied -> c |
|
31 | b: local copied -> c | |
32 | rev: versions differ -> m |
|
32 | rev: versions differ -> m | |
33 | getting a |
|
33 | getting a | |
34 | merging b and a to b |
|
34 | merging b and a to b | |
35 | resolving b |
|
35 | resolving b | |
36 | my b@ac809aeed39a other a@f4db7e329e71 ancestor a@924404dff337 |
|
36 | my b@ac809aeed39a other a@f4db7e329e71 ancestor a@924404dff337 | |
37 | merging rev |
|
37 | merging rev | |
38 | resolving rev |
|
38 | resolving rev | |
39 | my rev@ac809aeed39a other rev@f4db7e329e71 ancestor rev@924404dff337 |
|
39 | my rev@ac809aeed39a other rev@f4db7e329e71 ancestor rev@924404dff337 | |
40 | 1 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
40 | 1 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
41 | (branch merge, don't forget to commit) |
|
41 | (branch merge, don't forget to commit) | |
42 | -------------- |
|
42 | -------------- | |
43 | M a |
|
43 | M a | |
44 | M b |
|
44 | M b | |
45 | -------------- |
|
45 | -------------- | |
46 |
|
46 | |||
47 | -------------- |
|
47 | -------------- | |
48 | test L:up a R:nm a b W: - 3 get local a change to b, remove a |
|
48 | test L:up a R:nm a b W: - 3 get local a change to b, remove a | |
49 | -------------- |
|
49 | -------------- | |
50 | resolving manifests |
|
50 | resolving manifests | |
51 | overwrite None branchmerge True partial False |
|
51 | overwrite None branchmerge True partial False | |
52 | ancestor e300d1c794ec local e03727d2d66b remote 924404dff337 |
|
52 | ancestor e300d1c794ec local e03727d2d66b remote 924404dff337 | |
53 | a: remote moved -> c |
|
53 | a: remote moved -> c | |
54 | rev: versions differ -> m |
|
54 | rev: versions differ -> m | |
55 | merging a and b to b |
|
55 | merging a and b to b | |
56 | resolving a |
|
56 | resolving a | |
57 | my a@e300d1c794ec other b@e03727d2d66b ancestor a@924404dff337 |
|
57 | my a@e300d1c794ec other b@e03727d2d66b ancestor a@924404dff337 | |
58 | copying a to b |
|
58 | copying a to b | |
59 | removing a |
|
59 | removing a | |
60 | merging rev |
|
60 | merging rev | |
61 | resolving rev |
|
61 | resolving rev | |
62 | my rev@e300d1c794ec other rev@e03727d2d66b ancestor rev@924404dff337 |
|
62 | my rev@e300d1c794ec other rev@e03727d2d66b ancestor rev@924404dff337 | |
63 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
63 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
64 | (branch merge, don't forget to commit) |
|
64 | (branch merge, don't forget to commit) | |
65 | -------------- |
|
65 | -------------- | |
66 | M b |
|
66 | M b | |
67 | a |
|
67 | a | |
68 | -------------- |
|
68 | -------------- | |
69 |
|
69 | |||
70 | -------------- |
|
70 | -------------- | |
71 | test L:nm a b R:up a W: - 4 get remote change to b |
|
71 | test L:nm a b R:up a W: - 4 get remote change to b | |
72 | -------------- |
|
72 | -------------- | |
73 | resolving manifests |
|
73 | resolving manifests | |
74 | overwrite None branchmerge True partial False |
|
74 | overwrite None branchmerge True partial False | |
75 | ancestor ecf3cb2a4219 local f4db7e329e71 remote 924404dff337 |
|
75 | ancestor ecf3cb2a4219 local f4db7e329e71 remote 924404dff337 | |
76 | b: local moved -> c |
|
76 | b: local moved -> c | |
77 | rev: versions differ -> m |
|
77 | rev: versions differ -> m | |
78 | merging b and a to b |
|
78 | merging b and a to b | |
79 | resolving b |
|
79 | resolving b | |
80 | my b@ecf3cb2a4219 other a@f4db7e329e71 ancestor a@924404dff337 |
|
80 | my b@ecf3cb2a4219 other a@f4db7e329e71 ancestor a@924404dff337 | |
81 | merging rev |
|
81 | merging rev | |
82 | resolving rev |
|
82 | resolving rev | |
83 | my rev@ecf3cb2a4219 other rev@f4db7e329e71 ancestor rev@924404dff337 |
|
83 | my rev@ecf3cb2a4219 other rev@f4db7e329e71 ancestor rev@924404dff337 | |
84 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
84 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
85 | (branch merge, don't forget to commit) |
|
85 | (branch merge, don't forget to commit) | |
86 | -------------- |
|
86 | -------------- | |
87 | M b |
|
87 | M b | |
88 | -------------- |
|
88 | -------------- | |
89 |
|
89 | |||
90 | -------------- |
|
90 | -------------- | |
91 | test L: R:nc a b W: - 5 get b |
|
91 | test L: R:nc a b W: - 5 get b | |
92 | -------------- |
|
92 | -------------- | |
93 | resolving manifests |
|
93 | resolving manifests | |
94 | overwrite None branchmerge True partial False |
|
94 | overwrite None branchmerge True partial False | |
95 | ancestor 94b33a1b7f2d local 735846fee2d7 remote 924404dff337 |
|
95 | ancestor 94b33a1b7f2d local 735846fee2d7 remote 924404dff337 | |
96 | rev: versions differ -> m |
|
96 | rev: versions differ -> m | |
97 | a: remote copied -> c |
|
97 | a: remote copied -> c | |
98 | merging a and b to b |
|
98 | merging a and b to b | |
99 | resolving a |
|
99 | resolving a | |
100 | my a@924404dff337 other b@735846fee2d7 ancestor a@924404dff337 |
|
100 | my a@924404dff337 other b@735846fee2d7 ancestor a@924404dff337 | |
101 | copying a to b |
|
101 | copying a to b | |
102 | merging rev |
|
102 | merging rev | |
103 | resolving rev |
|
103 | resolving rev | |
104 | my rev@94b33a1b7f2d other rev@735846fee2d7 ancestor rev@924404dff337 |
|
104 | my rev@94b33a1b7f2d other rev@735846fee2d7 ancestor rev@924404dff337 | |
105 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
105 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
106 | (branch merge, don't forget to commit) |
|
106 | (branch merge, don't forget to commit) | |
107 | -------------- |
|
107 | -------------- | |
108 | M a |
|
108 | M a | |
109 | M b |
|
109 | M b | |
110 | a |
|
110 | a | |
111 | -------------- |
|
111 | -------------- | |
112 |
|
112 | |||
113 | -------------- |
|
113 | -------------- | |
114 | test L:nc a b R: W: - 6 nothing |
|
114 | test L:nc a b R: W: - 6 nothing | |
115 | -------------- |
|
115 | -------------- | |
116 | resolving manifests |
|
116 | resolving manifests | |
117 | overwrite None branchmerge True partial False |
|
117 | overwrite None branchmerge True partial False | |
118 | ancestor ac809aeed39a local 97c705ade336 remote 924404dff337 |
|
118 | ancestor ac809aeed39a local 97c705ade336 remote 924404dff337 | |
119 | b: local copied -> c |
|
119 | b: local copied -> c | |
120 | rev: versions differ -> m |
|
120 | rev: versions differ -> m | |
121 | merging b and a to b |
|
121 | merging b and a to b | |
122 | resolving b |
|
122 | resolving b | |
123 | my b@ac809aeed39a other a@924404dff337 ancestor a@924404dff337 |
|
123 | my b@ac809aeed39a other a@924404dff337 ancestor a@924404dff337 | |
124 | merging rev |
|
124 | merging rev | |
125 | resolving rev |
|
125 | resolving rev | |
126 | my rev@ac809aeed39a other rev@97c705ade336 ancestor rev@924404dff337 |
|
126 | my rev@ac809aeed39a other rev@97c705ade336 ancestor rev@924404dff337 | |
127 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
127 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
128 | (branch merge, don't forget to commit) |
|
128 | (branch merge, don't forget to commit) | |
129 | -------------- |
|
129 | -------------- | |
130 | M b |
|
130 | M b | |
131 | C a |
|
131 | C a | |
132 | -------------- |
|
132 | -------------- | |
133 |
|
133 | |||
134 | -------------- |
|
134 | -------------- | |
135 | test L: R:nm a b W: - 7 get b |
|
135 | test L: R:nm a b W: - 7 get b | |
136 | -------------- |
|
136 | -------------- | |
137 | resolving manifests |
|
137 | resolving manifests | |
138 | overwrite None branchmerge True partial False |
|
138 | overwrite None branchmerge True partial False | |
139 | ancestor 94b33a1b7f2d local e03727d2d66b remote 924404dff337 |
|
139 | ancestor 94b33a1b7f2d local e03727d2d66b remote 924404dff337 | |
140 | a: remote moved -> c |
|
140 | a: remote moved -> c | |
141 | rev: versions differ -> m |
|
141 | rev: versions differ -> m | |
142 | merging a and b to b |
|
142 | merging a and b to b | |
143 | resolving a |
|
143 | resolving a | |
144 | my a@924404dff337 other b@e03727d2d66b ancestor a@924404dff337 |
|
144 | my a@924404dff337 other b@e03727d2d66b ancestor a@924404dff337 | |
145 | copying a to b |
|
145 | copying a to b | |
146 | removing a |
|
146 | removing a | |
147 | merging rev |
|
147 | merging rev | |
148 | resolving rev |
|
148 | resolving rev | |
149 | my rev@94b33a1b7f2d other rev@e03727d2d66b ancestor rev@924404dff337 |
|
149 | my rev@94b33a1b7f2d other rev@e03727d2d66b ancestor rev@924404dff337 | |
150 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
150 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
151 | (branch merge, don't forget to commit) |
|
151 | (branch merge, don't forget to commit) | |
152 | -------------- |
|
152 | -------------- | |
153 | M b |
|
153 | M b | |
154 | a |
|
154 | a | |
155 | -------------- |
|
155 | -------------- | |
156 |
|
156 | |||
157 | -------------- |
|
157 | -------------- | |
158 | test L:nm a b R: W: - 8 nothing |
|
158 | test L:nm a b R: W: - 8 nothing | |
159 | -------------- |
|
159 | -------------- | |
160 | resolving manifests |
|
160 | resolving manifests | |
161 | overwrite None branchmerge True partial False |
|
161 | overwrite None branchmerge True partial False | |
162 | ancestor ecf3cb2a4219 local 97c705ade336 remote 924404dff337 |
|
162 | ancestor ecf3cb2a4219 local 97c705ade336 remote 924404dff337 | |
163 | b: local moved -> c |
|
163 | b: local moved -> c | |
164 | rev: versions differ -> m |
|
164 | rev: versions differ -> m | |
165 | merging b and a to b |
|
165 | merging b and a to b | |
166 | resolving b |
|
166 | resolving b | |
167 | my b@ecf3cb2a4219 other a@924404dff337 ancestor a@924404dff337 |
|
167 | my b@ecf3cb2a4219 other a@924404dff337 ancestor a@924404dff337 | |
168 | merging rev |
|
168 | merging rev | |
169 | resolving rev |
|
169 | resolving rev | |
170 | my rev@ecf3cb2a4219 other rev@97c705ade336 ancestor rev@924404dff337 |
|
170 | my rev@ecf3cb2a4219 other rev@97c705ade336 ancestor rev@924404dff337 | |
171 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
171 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
172 | (branch merge, don't forget to commit) |
|
172 | (branch merge, don't forget to commit) | |
173 | -------------- |
|
173 | -------------- | |
174 | M b |
|
174 | M b | |
175 | -------------- |
|
175 | -------------- | |
176 |
|
176 | |||
177 | -------------- |
|
177 | -------------- | |
178 | test L:um a b R:um a b W: - 9 do merge with ancestor in a |
|
178 | test L:um a b R:um a b W: - 9 do merge with ancestor in a | |
179 | -------------- |
|
179 | -------------- | |
180 | resolving manifests |
|
180 | resolving manifests | |
181 | overwrite None branchmerge True partial False |
|
181 | overwrite None branchmerge True partial False | |
182 | ancestor ec03c2ca8642 local 79cc6877a3b7 remote 924404dff337 |
|
182 | ancestor ec03c2ca8642 local 79cc6877a3b7 remote 924404dff337 | |
183 | b: versions differ -> m |
|
183 | b: versions differ -> m | |
184 | rev: versions differ -> m |
|
184 | rev: versions differ -> m | |
185 | merging b |
|
185 | merging b | |
186 | resolving b |
|
186 | resolving b | |
187 | my b@ec03c2ca8642 other b@79cc6877a3b7 ancestor a@924404dff337 |
|
187 | my b@ec03c2ca8642 other b@79cc6877a3b7 ancestor a@924404dff337 | |
188 | merging rev |
|
188 | merging rev | |
189 | resolving rev |
|
189 | resolving rev | |
190 | my rev@ec03c2ca8642 other rev@79cc6877a3b7 ancestor rev@924404dff337 |
|
190 | my rev@ec03c2ca8642 other rev@79cc6877a3b7 ancestor rev@924404dff337 | |
191 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
191 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
192 | (branch merge, don't forget to commit) |
|
192 | (branch merge, don't forget to commit) | |
193 | -------------- |
|
193 | -------------- | |
194 | M b |
|
194 | M b | |
195 | -------------- |
|
195 | -------------- | |
196 |
|
196 | |||
197 | -------------- |
|
197 | -------------- | |
198 | test L:nm a b R:nm a c W: - 11 get c, keep b |
|
198 | test L:nm a b R:nm a c W: - 11 get c, keep b | |
199 | -------------- |
|
199 | -------------- | |
200 | resolving manifests |
|
200 | resolving manifests | |
201 | overwrite None branchmerge True partial False |
|
201 | overwrite None branchmerge True partial False | |
202 | ancestor ecf3cb2a4219 local e6abcc1a30c2 remote 924404dff337 |
|
202 | ancestor ecf3cb2a4219 local e6abcc1a30c2 remote 924404dff337 | |
203 | rev: versions differ -> m |
|
203 | rev: versions differ -> m | |
204 | c: remote created -> g |
|
204 | c: remote created -> g | |
205 | getting c |
|
205 | getting c | |
206 | merging rev |
|
206 | merging rev | |
207 | resolving rev |
|
207 | resolving rev | |
208 | my rev@ecf3cb2a4219 other rev@e6abcc1a30c2 ancestor rev@924404dff337 |
|
208 | my rev@ecf3cb2a4219 other rev@e6abcc1a30c2 ancestor rev@924404dff337 | |
209 | 1 files updated, 1 files merged, 0 files removed, 0 files unresolved |
|
209 | 1 files updated, 1 files merged, 0 files removed, 0 files unresolved | |
210 | (branch merge, don't forget to commit) |
|
210 | (branch merge, don't forget to commit) | |
211 | -------------- |
|
211 | -------------- | |
212 | M c |
|
212 | M c | |
213 | C b |
|
213 | C b | |
214 | -------------- |
|
214 | -------------- | |
215 |
|
215 | |||
216 | -------------- |
|
216 | -------------- | |
217 | test L:nc a b R:up b W: - 12 merge b no ancestor |
|
217 | test L:nc a b R:up b W: - 12 merge b no ancestor | |
218 | -------------- |
|
218 | -------------- | |
219 | resolving manifests |
|
219 | resolving manifests | |
220 | overwrite None branchmerge True partial False |
|
220 | overwrite None branchmerge True partial False | |
221 | ancestor ac809aeed39a local af30c7647fc7 remote 924404dff337 |
|
221 | ancestor ac809aeed39a local af30c7647fc7 remote 924404dff337 | |
222 | b: versions differ -> m |
|
222 | b: versions differ -> m | |
223 | rev: versions differ -> m |
|
223 | rev: versions differ -> m | |
224 | merging b |
|
224 | merging b | |
225 | resolving b |
|
225 | resolving b | |
226 | my b@ac809aeed39a other b@af30c7647fc7 ancestor b@000000000000 |
|
226 | my b@ac809aeed39a other b@af30c7647fc7 ancestor b@000000000000 | |
227 | merging rev |
|
227 | merging rev | |
228 | resolving rev |
|
228 | resolving rev | |
229 | my rev@ac809aeed39a other rev@af30c7647fc7 ancestor rev@924404dff337 |
|
229 | my rev@ac809aeed39a other rev@af30c7647fc7 ancestor rev@924404dff337 | |
230 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
230 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
231 | (branch merge, don't forget to commit) |
|
231 | (branch merge, don't forget to commit) | |
232 | -------------- |
|
232 | -------------- | |
233 | M b |
|
233 | M b | |
234 | C a |
|
234 | C a | |
235 | -------------- |
|
235 | -------------- | |
236 |
|
236 | |||
237 | -------------- |
|
237 | -------------- | |
238 | test L:up b R:nm a b W: - 13 merge b no ancestor |
|
238 | test L:up b R:nm a b W: - 13 merge b no ancestor | |
239 | -------------- |
|
239 | -------------- | |
240 | resolving manifests |
|
240 | resolving manifests | |
241 | overwrite None branchmerge True partial False |
|
241 | overwrite None branchmerge True partial False | |
242 | ancestor 59318016310c local e03727d2d66b remote 924404dff337 |
|
242 | ancestor 59318016310c local e03727d2d66b remote 924404dff337 | |
243 | a: other deleted -> r |
|
243 | a: other deleted -> r | |
244 | b: versions differ -> m |
|
244 | b: versions differ -> m | |
245 | rev: versions differ -> m |
|
245 | rev: versions differ -> m | |
246 | removing a |
|
246 | removing a | |
247 | merging b |
|
247 | merging b | |
248 | resolving b |
|
248 | resolving b | |
249 | my b@59318016310c other b@e03727d2d66b ancestor b@000000000000 |
|
249 | my b@59318016310c other b@e03727d2d66b ancestor b@000000000000 | |
250 | merging rev |
|
250 | merging rev | |
251 | resolving rev |
|
251 | resolving rev | |
252 | my rev@59318016310c other rev@e03727d2d66b ancestor rev@924404dff337 |
|
252 | my rev@59318016310c other rev@e03727d2d66b ancestor rev@924404dff337 | |
253 | 0 files updated, 2 files merged, 1 files removed, 0 files unresolved |
|
253 | 0 files updated, 2 files merged, 1 files removed, 0 files unresolved | |
254 | (branch merge, don't forget to commit) |
|
254 | (branch merge, don't forget to commit) | |
255 | -------------- |
|
255 | -------------- | |
256 | M b |
|
256 | M b | |
257 | -------------- |
|
257 | -------------- | |
258 |
|
258 | |||
259 | -------------- |
|
259 | -------------- | |
260 | test L:nc a b R:up a b W: - 14 merge b no ancestor |
|
260 | test L:nc a b R:up a b W: - 14 merge b no ancestor | |
261 | -------------- |
|
261 | -------------- | |
262 | resolving manifests |
|
262 | resolving manifests | |
263 | overwrite None branchmerge True partial False |
|
263 | overwrite None branchmerge True partial False | |
264 | ancestor ac809aeed39a local 8dbce441892a remote 924404dff337 |
|
264 | ancestor ac809aeed39a local 8dbce441892a remote 924404dff337 | |
265 | a: remote is newer -> g |
|
265 | a: remote is newer -> g | |
266 | b: versions differ -> m |
|
266 | b: versions differ -> m | |
267 | rev: versions differ -> m |
|
267 | rev: versions differ -> m | |
268 | getting a |
|
268 | getting a | |
269 | merging b |
|
269 | merging b | |
270 | resolving b |
|
270 | resolving b | |
271 | my b@ac809aeed39a other b@8dbce441892a ancestor b@000000000000 |
|
271 | my b@ac809aeed39a other b@8dbce441892a ancestor b@000000000000 | |
272 | merging rev |
|
272 | merging rev | |
273 | resolving rev |
|
273 | resolving rev | |
274 | my rev@ac809aeed39a other rev@8dbce441892a ancestor rev@924404dff337 |
|
274 | my rev@ac809aeed39a other rev@8dbce441892a ancestor rev@924404dff337 | |
275 | 1 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
275 | 1 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
276 | (branch merge, don't forget to commit) |
|
276 | (branch merge, don't forget to commit) | |
277 | -------------- |
|
277 | -------------- | |
278 | M a |
|
278 | M a | |
279 | M b |
|
279 | M b | |
280 | -------------- |
|
280 | -------------- | |
281 |
|
281 | |||
282 | -------------- |
|
282 | -------------- | |
283 | test L:up b R:nm a b W: - 15 merge b no ancestor, remove a |
|
283 | test L:up b R:nm a b W: - 15 merge b no ancestor, remove a | |
284 | -------------- |
|
284 | -------------- | |
285 | resolving manifests |
|
285 | resolving manifests | |
286 | overwrite None branchmerge True partial False |
|
286 | overwrite None branchmerge True partial False | |
287 | ancestor 59318016310c local e03727d2d66b remote 924404dff337 |
|
287 | ancestor 59318016310c local e03727d2d66b remote 924404dff337 | |
288 | a: other deleted -> r |
|
288 | a: other deleted -> r | |
289 | b: versions differ -> m |
|
289 | b: versions differ -> m | |
290 | rev: versions differ -> m |
|
290 | rev: versions differ -> m | |
291 | removing a |
|
291 | removing a | |
292 | merging b |
|
292 | merging b | |
293 | resolving b |
|
293 | resolving b | |
294 | my b@59318016310c other b@e03727d2d66b ancestor b@000000000000 |
|
294 | my b@59318016310c other b@e03727d2d66b ancestor b@000000000000 | |
295 | merging rev |
|
295 | merging rev | |
296 | resolving rev |
|
296 | resolving rev | |
297 | my rev@59318016310c other rev@e03727d2d66b ancestor rev@924404dff337 |
|
297 | my rev@59318016310c other rev@e03727d2d66b ancestor rev@924404dff337 | |
298 | 0 files updated, 2 files merged, 1 files removed, 0 files unresolved |
|
298 | 0 files updated, 2 files merged, 1 files removed, 0 files unresolved | |
299 | (branch merge, don't forget to commit) |
|
299 | (branch merge, don't forget to commit) | |
300 | -------------- |
|
300 | -------------- | |
301 | M b |
|
301 | M b | |
302 | -------------- |
|
302 | -------------- | |
303 |
|
303 | |||
304 | -------------- |
|
304 | -------------- | |
305 | test L:nc a b R:up a b W: - 16 get a, merge b no ancestor |
|
305 | test L:nc a b R:up a b W: - 16 get a, merge b no ancestor | |
306 | -------------- |
|
306 | -------------- | |
307 | resolving manifests |
|
307 | resolving manifests | |
308 | overwrite None branchmerge True partial False |
|
308 | overwrite None branchmerge True partial False | |
309 | ancestor ac809aeed39a local 8dbce441892a remote 924404dff337 |
|
309 | ancestor ac809aeed39a local 8dbce441892a remote 924404dff337 | |
310 | a: remote is newer -> g |
|
310 | a: remote is newer -> g | |
311 | b: versions differ -> m |
|
311 | b: versions differ -> m | |
312 | rev: versions differ -> m |
|
312 | rev: versions differ -> m | |
313 | getting a |
|
313 | getting a | |
314 | merging b |
|
314 | merging b | |
315 | resolving b |
|
315 | resolving b | |
316 | my b@ac809aeed39a other b@8dbce441892a ancestor b@000000000000 |
|
316 | my b@ac809aeed39a other b@8dbce441892a ancestor b@000000000000 | |
317 | merging rev |
|
317 | merging rev | |
318 | resolving rev |
|
318 | resolving rev | |
319 | my rev@ac809aeed39a other rev@8dbce441892a ancestor rev@924404dff337 |
|
319 | my rev@ac809aeed39a other rev@8dbce441892a ancestor rev@924404dff337 | |
320 | 1 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
320 | 1 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
321 | (branch merge, don't forget to commit) |
|
321 | (branch merge, don't forget to commit) | |
322 | -------------- |
|
322 | -------------- | |
323 | M a |
|
323 | M a | |
324 | M b |
|
324 | M b | |
325 | -------------- |
|
325 | -------------- | |
326 |
|
326 | |||
327 | -------------- |
|
327 | -------------- | |
328 | test L:up a b R:nc a b W: - 17 keep a, merge b no ancestor |
|
328 | test L:up a b R:nc a b W: - 17 keep a, merge b no ancestor | |
329 | -------------- |
|
329 | -------------- | |
330 | resolving manifests |
|
330 | resolving manifests | |
331 | overwrite None branchmerge True partial False |
|
331 | overwrite None branchmerge True partial False | |
332 | ancestor 0b76e65c8289 local 735846fee2d7 remote 924404dff337 |
|
332 | ancestor 0b76e65c8289 local 735846fee2d7 remote 924404dff337 | |
333 | b: versions differ -> m |
|
333 | b: versions differ -> m | |
334 | rev: versions differ -> m |
|
334 | rev: versions differ -> m | |
335 | merging b |
|
335 | merging b | |
336 | resolving b |
|
336 | resolving b | |
337 | my b@0b76e65c8289 other b@735846fee2d7 ancestor b@000000000000 |
|
337 | my b@0b76e65c8289 other b@735846fee2d7 ancestor b@000000000000 | |
338 | merging rev |
|
338 | merging rev | |
339 | resolving rev |
|
339 | resolving rev | |
340 | my rev@0b76e65c8289 other rev@735846fee2d7 ancestor rev@924404dff337 |
|
340 | my rev@0b76e65c8289 other rev@735846fee2d7 ancestor rev@924404dff337 | |
341 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
341 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
342 | (branch merge, don't forget to commit) |
|
342 | (branch merge, don't forget to commit) | |
343 | -------------- |
|
343 | -------------- | |
344 | M b |
|
344 | M b | |
345 | C a |
|
345 | C a | |
346 | -------------- |
|
346 | -------------- | |
347 |
|
347 | |||
348 | -------------- |
|
348 | -------------- | |
349 | test L:nm a b R:up a b W: - 18 merge b no ancestor |
|
349 | test L:nm a b R:up a b W: - 18 merge b no ancestor | |
350 | -------------- |
|
350 | -------------- | |
351 | resolving manifests |
|
351 | resolving manifests | |
352 | overwrite None branchmerge True partial False |
|
352 | overwrite None branchmerge True partial False | |
353 | ancestor ecf3cb2a4219 local 8dbce441892a remote 924404dff337 |
|
353 | ancestor ecf3cb2a4219 local 8dbce441892a remote 924404dff337 | |
354 | b: versions differ -> m |
|
354 | b: versions differ -> m | |
355 | rev: versions differ -> m |
|
355 | rev: versions differ -> m | |
356 | a: prompt recreating -> g |
|
356 | a: prompt recreating -> g | |
357 | getting a |
|
357 | getting a | |
358 | merging b |
|
358 | merging b | |
359 | resolving b |
|
359 | resolving b | |
360 | my b@ecf3cb2a4219 other b@8dbce441892a ancestor b@000000000000 |
|
360 | my b@ecf3cb2a4219 other b@8dbce441892a ancestor b@000000000000 | |
361 | merging rev |
|
361 | merging rev | |
362 | resolving rev |
|
362 | resolving rev | |
363 | my rev@ecf3cb2a4219 other rev@8dbce441892a ancestor rev@924404dff337 |
|
363 | my rev@ecf3cb2a4219 other rev@8dbce441892a ancestor rev@924404dff337 | |
364 | 1 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
364 | 1 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
365 | (branch merge, don't forget to commit) |
|
365 | (branch merge, don't forget to commit) | |
366 | -------------- |
|
366 | -------------- | |
367 | M a |
|
367 | M a | |
368 | M b |
|
368 | M b | |
369 | -------------- |
|
369 | -------------- | |
370 |
|
370 | |||
371 | -------------- |
|
371 | -------------- | |
372 | test L:up a b R:nm a b W: - 19 merge b no ancestor, prompt remove a |
|
372 | test L:up a b R:nm a b W: - 19 merge b no ancestor, prompt remove a | |
373 | -------------- |
|
373 | -------------- | |
374 | resolving manifests |
|
374 | resolving manifests | |
375 | overwrite None branchmerge True partial False |
|
375 | overwrite None branchmerge True partial False | |
376 | ancestor 0b76e65c8289 local e03727d2d66b remote 924404dff337 |
|
376 | ancestor 0b76e65c8289 local e03727d2d66b remote 924404dff337 | |
377 | b: versions differ -> m |
|
377 | b: versions differ -> m | |
378 | rev: versions differ -> m |
|
378 | rev: versions differ -> m | |
379 | merging b |
|
379 | merging b | |
380 | resolving b |
|
380 | resolving b | |
381 | my b@0b76e65c8289 other b@e03727d2d66b ancestor b@000000000000 |
|
381 | my b@0b76e65c8289 other b@e03727d2d66b ancestor b@000000000000 | |
382 | merging rev |
|
382 | merging rev | |
383 | resolving rev |
|
383 | resolving rev | |
384 | my rev@0b76e65c8289 other rev@e03727d2d66b ancestor rev@924404dff337 |
|
384 | my rev@0b76e65c8289 other rev@e03727d2d66b ancestor rev@924404dff337 | |
385 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
385 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
386 | (branch merge, don't forget to commit) |
|
386 | (branch merge, don't forget to commit) | |
387 | -------------- |
|
387 | -------------- | |
388 | M b |
|
388 | M b | |
389 | C a |
|
389 | C a | |
390 | -------------- |
|
390 | -------------- | |
391 |
|
391 | |||
392 | -------------- |
|
392 | -------------- | |
393 | test L:up a R:um a b W: - 20 merge a and b to b, remove a |
|
393 | test L:up a R:um a b W: - 20 merge a and b to b, remove a | |
394 | -------------- |
|
394 | -------------- | |
395 | resolving manifests |
|
395 | resolving manifests | |
396 | overwrite None branchmerge True partial False |
|
396 | overwrite None branchmerge True partial False | |
397 | ancestor e300d1c794ec local 79cc6877a3b7 remote 924404dff337 |
|
397 | ancestor e300d1c794ec local 79cc6877a3b7 remote 924404dff337 | |
398 | a: remote moved -> c |
|
398 | a: remote moved -> c | |
399 | rev: versions differ -> m |
|
399 | rev: versions differ -> m | |
400 | merging a and b to b |
|
400 | merging a and b to b | |
401 | resolving a |
|
401 | resolving a | |
402 | my a@e300d1c794ec other b@79cc6877a3b7 ancestor a@924404dff337 |
|
402 | my a@e300d1c794ec other b@79cc6877a3b7 ancestor a@924404dff337 | |
403 | copying a to b |
|
403 | copying a to b | |
404 | removing a |
|
404 | removing a | |
405 | merging rev |
|
405 | merging rev | |
406 | resolving rev |
|
406 | resolving rev | |
407 | my rev@e300d1c794ec other rev@79cc6877a3b7 ancestor rev@924404dff337 |
|
407 | my rev@e300d1c794ec other rev@79cc6877a3b7 ancestor rev@924404dff337 | |
408 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
408 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
409 | (branch merge, don't forget to commit) |
|
409 | (branch merge, don't forget to commit) | |
410 | -------------- |
|
410 | -------------- | |
411 | M b |
|
411 | M b | |
412 | a |
|
412 | a | |
413 | -------------- |
|
413 | -------------- | |
414 |
|
414 | |||
415 | -------------- |
|
415 | -------------- | |
416 | test L:um a b R:up a W: - 21 merge a and b to b |
|
416 | test L:um a b R:up a W: - 21 merge a and b to b | |
417 | -------------- |
|
417 | -------------- | |
418 | resolving manifests |
|
418 | resolving manifests | |
419 | overwrite None branchmerge True partial False |
|
419 | overwrite None branchmerge True partial False | |
420 | ancestor ec03c2ca8642 local f4db7e329e71 remote 924404dff337 |
|
420 | ancestor ec03c2ca8642 local f4db7e329e71 remote 924404dff337 | |
421 | b: local moved -> c |
|
421 | b: local moved -> c | |
422 | rev: versions differ -> m |
|
422 | rev: versions differ -> m | |
423 | merging b and a to b |
|
423 | merging b and a to b | |
424 | resolving b |
|
424 | resolving b | |
425 | my b@ec03c2ca8642 other a@f4db7e329e71 ancestor a@924404dff337 |
|
425 | my b@ec03c2ca8642 other a@f4db7e329e71 ancestor a@924404dff337 | |
426 | merging rev |
|
426 | merging rev | |
427 | resolving rev |
|
427 | resolving rev | |
428 | my rev@ec03c2ca8642 other rev@f4db7e329e71 ancestor rev@924404dff337 |
|
428 | my rev@ec03c2ca8642 other rev@f4db7e329e71 ancestor rev@924404dff337 | |
429 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
429 | 0 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
430 | (branch merge, don't forget to commit) |
|
430 | (branch merge, don't forget to commit) | |
431 | -------------- |
|
431 | -------------- | |
432 | M b |
|
432 | M b | |
433 | -------------- |
|
433 | -------------- | |
434 |
|
434 | |||
435 | -------------- |
|
435 | -------------- | |
436 | test L:nm a b R:up a c W: - 23 get c, keep b |
|
436 | test L:nm a b R:up a c W: - 23 get c, keep b | |
437 | -------------- |
|
437 | -------------- | |
438 | resolving manifests |
|
438 | resolving manifests | |
439 | overwrite None branchmerge True partial False |
|
439 | overwrite None branchmerge True partial False | |
440 | ancestor ecf3cb2a4219 local 2b958612230f remote 924404dff337 |
|
440 | ancestor ecf3cb2a4219 local 2b958612230f remote 924404dff337 | |
441 | b: local moved -> c |
|
441 | b: local moved -> c | |
442 | rev: versions differ -> m |
|
442 | rev: versions differ -> m | |
443 | c: remote created -> g |
|
443 | c: remote created -> g | |
444 | merging b and a to b |
|
444 | merging b and a to b | |
445 | resolving b |
|
445 | resolving b | |
446 | my b@ecf3cb2a4219 other a@2b958612230f ancestor a@924404dff337 |
|
446 | my b@ecf3cb2a4219 other a@2b958612230f ancestor a@924404dff337 | |
447 | getting c |
|
447 | getting c | |
448 | merging rev |
|
448 | merging rev | |
449 | resolving rev |
|
449 | resolving rev | |
450 | my rev@ecf3cb2a4219 other rev@2b958612230f ancestor rev@924404dff337 |
|
450 | my rev@ecf3cb2a4219 other rev@2b958612230f ancestor rev@924404dff337 | |
451 | 1 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
451 | 1 files updated, 2 files merged, 0 files removed, 0 files unresolved | |
452 | (branch merge, don't forget to commit) |
|
452 | (branch merge, don't forget to commit) | |
453 | -------------- |
|
453 | -------------- | |
454 | M b |
|
454 | M b | |
455 | M c |
|
455 | M c | |
456 | -------------- |
|
456 | -------------- | |
457 |
|
457 |
General Comments 0
You need to be logged in to leave comments.
Login now