10 f.close() |
10 f.close() |
11 EOF |
11 EOF |
12 HGMERGE="python ../merge"; export HGMERGE |
12 HGMERGE="python ../merge"; export HGMERGE |
13 |
13 |
14 # perform a test merge with possible renaming |
14 # perform a test merge with possible renaming |
15 # |
15 # |
16 # args: |
16 # args: |
17 # $1 = action in local branch |
17 # $1 = action in local branch |
18 # $2 = action in remote branch |
18 # $2 = action in remote branch |
19 # $3 = action in working dir |
19 # $3 = action in working dir |
20 # $4 = expected result |
20 # $4 = expected result |
93 tm "nc a b" "up b " " " "12 merge b no ancestor" |
93 tm "nc a b" "up b " " " "12 merge b no ancestor" |
94 tm "up b " "nm a b" " " "13 merge b no ancestor" |
94 tm "up b " "nm a b" " " "13 merge b no ancestor" |
95 tm "nc a b" "up a b" " " "14 merge b no ancestor" |
95 tm "nc a b" "up a b" " " "14 merge b no ancestor" |
96 tm "up b " "nm a b" " " "15 merge b no ancestor, remove a" |
96 tm "up b " "nm a b" " " "15 merge b no ancestor, remove a" |
97 tm "nc a b" "up a b" " " "16 get a, merge b no ancestor" |
97 tm "nc a b" "up a b" " " "16 get a, merge b no ancestor" |
98 tm "up a b" "nc a b" " " "17 keep a, merge b no ancestor" |
98 tm "up a b" "nc a b" " " "17 keep a, merge b no ancestor" |
99 tm "nm a b" "up a b" " " "18 merge b no ancestor" |
99 tm "nm a b" "up a b" " " "18 merge b no ancestor" |
100 tm "up a b" "nm a b" " " "19 merge b no ancestor, prompt remove a" |
100 tm "up a b" "nm a b" " " "19 merge b no ancestor, prompt remove a" |
101 tm "up a " "um a b" " " "20 merge a and b to b, remove a" |
101 tm "up a " "um a b" " " "20 merge a and b to b, remove a" |
102 tm "um a b" "up a " " " "21 merge a and b to b" |
102 tm "um a b" "up a " " " "21 merge a and b to b" |
103 #tm "nm a b" "um x a" " " "22 get a, keep b" |
103 #tm "nm a b" "um x a" " " "22 get a, keep b" |