Show More
@@ -361,6 +361,8 b' def _filecommit(' | |||||
361 | elif fparent2 != nullid: |
|
361 | elif fparent2 != nullid: | |
362 | if ms.active() and ms.extras(fname).get(b'filenode-source') == b'other': |
|
362 | if ms.active() and ms.extras(fname).get(b'filenode-source') == b'other': | |
363 | fparent1, fparent2 = fparent2, nullid |
|
363 | fparent1, fparent2 = fparent2, nullid | |
|
364 | elif ms.active() and ms.extras(fname).get(b'merged') != b'yes': | |||
|
365 | fparent1, fparent2 = fparent1, nullid | |||
364 | # is one parent an ancestor of the other? |
|
366 | # is one parent an ancestor of the other? | |
365 | else: |
|
367 | else: | |
366 | fparentancestors = flog.commonancestorsheads(fparent1, fparent2) |
|
368 | fparentancestors = flog.commonancestorsheads(fparent1, fparent2) |
@@ -1698,6 +1698,7 b' def applyupdates(' | |||||
1698 | tocomplete = [] |
|
1698 | tocomplete = [] | |
1699 | for f, args, msg in mergeactions: |
|
1699 | for f, args, msg in mergeactions: | |
1700 | repo.ui.debug(b" %s: %s -> m (premerge)\n" % (f, msg)) |
|
1700 | repo.ui.debug(b" %s: %s -> m (premerge)\n" % (f, msg)) | |
|
1701 | ms.addcommitinfo(f, {b'merged': b'yes'}) | |||
1701 | progress.increment(item=f) |
|
1702 | progress.increment(item=f) | |
1702 | if f == b'.hgsubstate': # subrepo states need updating |
|
1703 | if f == b'.hgsubstate': # subrepo states need updating | |
1703 | subrepoutil.submerge( |
|
1704 | subrepoutil.submerge( | |
@@ -1713,6 +1714,7 b' def applyupdates(' | |||||
1713 | # merge |
|
1714 | # merge | |
1714 | for f, args, msg in tocomplete: |
|
1715 | for f, args, msg in tocomplete: | |
1715 | repo.ui.debug(b" %s: %s -> m (merge)\n" % (f, msg)) |
|
1716 | repo.ui.debug(b" %s: %s -> m (merge)\n" % (f, msg)) | |
|
1717 | ms.addcommitinfo(f, {b'merged': b'yes'}) | |||
1716 | progress.increment(item=f, total=numupdates) |
|
1718 | progress.increment(item=f, total=numupdates) | |
1717 | ms.resolve(f, wctx) |
|
1719 | ms.resolve(f, wctx) | |
1718 |
|
1720 |
@@ -718,6 +718,7 b' Test usage of `hg resolve` in case of co' | |||||
718 | ancestor path: foo (node f89532f44c247a0e993d63e3a734dd781ab04708) |
|
718 | ancestor path: foo (node f89532f44c247a0e993d63e3a734dd781ab04708) | |
719 | other path: foo (node f50039b486d6fa1a90ae51778388cad161f425ee) |
|
719 | other path: foo (node f50039b486d6fa1a90ae51778388cad161f425ee) | |
720 | extra: ancestorlinknode = 91360952243723bd5b1138d5f26bd8c8564cb553 |
|
720 | extra: ancestorlinknode = 91360952243723bd5b1138d5f26bd8c8564cb553 | |
|
721 | extra: merged = yes | |||
721 | $ mv .hg/merge/state2 .hg/merge/state2-moved |
|
722 | $ mv .hg/merge/state2 .hg/merge/state2-moved | |
722 | $ hg debugmergestate -v |
|
723 | $ hg debugmergestate -v | |
723 | no version 2 merge state |
|
724 | no version 2 merge state |
@@ -946,8 +946,7 b' Merge:' | |||||
946 | $ hg ci -m "mFB-change-m-0 $case_desc - the other way" |
|
946 | $ hg ci -m "mFB-change-m-0 $case_desc - the other way" | |
947 | created new head |
|
947 | created new head | |
948 | $ hg manifest --rev . --debug | grep " d" |
|
948 | $ hg manifest --rev . --debug | grep " d" | |
949 |
1c334238bd42ec85c6a0d83fd1b2a898a6a3215d 644 d (no-changeset |
|
949 | 1c334238bd42ec85c6a0d83fd1b2a898a6a3215d 644 d (no-changeset !) | |
950 | 646ed7992dec41eb29635ab28268e7867d0e59a0 644 d (no-changeset known-bad-output !) |
|
|||
951 | cea2d99c0fde64672ef61953786fdff34f16e230 644 d (changeset !) |
|
950 | cea2d99c0fde64672ef61953786fdff34f16e230 644 d (changeset !) | |
952 | #if no-changeset |
|
951 | #if no-changeset | |
953 | $ hg debugindex d | ../no-linkrev |
|
952 | $ hg debugindex d | ../no-linkrev | |
@@ -961,7 +960,6 b' Merge:' | |||||
961 | 6 * 89c873a01d97 7b79e2fe0c89 17ec97e60577 |
|
960 | 6 * 89c873a01d97 7b79e2fe0c89 17ec97e60577 | |
962 | 7 * d55cb4e9ef57 000000000000 000000000000 |
|
961 | 7 * d55cb4e9ef57 000000000000 000000000000 | |
963 | 8 * 1c334238bd42 7b79e2fe0c89 000000000000 |
|
962 | 8 * 1c334238bd42 7b79e2fe0c89 000000000000 | |
964 | 9 * 646ed7992dec 7b79e2fe0c89 d8252ab2e760 (known-bad-output !) |
|
|||
965 | #else |
|
963 | #else | |
966 | $ hg debugindex d | ../no-linkrev |
|
964 | $ hg debugindex d | ../no-linkrev | |
967 | rev linkrev nodeid p1 p2 |
|
965 | rev linkrev nodeid p1 p2 | |
@@ -1917,10 +1915,12 b' We upgrade a repository that is not usin' | |||||
1917 | ##### revision "mFB-change-m-0 merge with extra change - B side" ##### |
|
1915 | ##### revision "mFB-change-m-0 merge with extra change - B side" ##### | |
1918 | 1 sidedata entries |
|
1916 | 1 sidedata entries | |
1919 | entry-0014 size 14 |
|
1917 | entry-0014 size 14 | |
1920 |
'\x00\x00\x00\x01\x |
|
1918 | '\x00\x00\x00\x01\x14\x00\x00\x00\x01\x00\x00\x00\x00d' (no-upgraded no-upgraded-parallel !) | |
1921 | merged : d, ; (known-bad-output !) |
|
1919 | touched : d, ; (no-upgraded no-upgraded-parallel !) | |
1922 |
'\x00\x00\x00\x01\x |
|
1920 | '\x00\x00\x00\x01\x08\x00\x00\x00\x01\x00\x00\x00\x00d' (upgraded-parallel known-bad-output !) | |
1923 | touched : d, ; (missing-correct-output !) |
|
1921 | merged : d, ; (upgraded-parallel known-bad-output !) | |
|
1922 | '\x00\x00\x00\x01\x08\x00\x00\x00\x01\x00\x00\x00\x00d' (upgraded known-bad-output !) | |||
|
1923 | merged : d, ; (upgraded known-bad-output !) | |||
1924 | ##### revision "j-1" ##### |
|
1924 | ##### revision "j-1" ##### | |
1925 | 1 sidedata entries |
|
1925 | 1 sidedata entries | |
1926 | entry-0014 size 24 |
|
1926 | entry-0014 size 24 | |
@@ -3357,13 +3357,7 b' Merge:' | |||||
3357 | $ hg status --copies --rev 'desc("i-0")' --rev 'desc("mFB-change-m-0")' |
|
3357 | $ hg status --copies --rev 'desc("i-0")' --rev 'desc("mFB-change-m-0")' | |
3358 | M b |
|
3358 | M b | |
3359 | A d |
|
3359 | A d | |
3360 | h (filelog missing-correct-output !) |
|
3360 | h | |
3361 | a (filelog known-bad-output !) |
|
|||
3362 | h (sidedata !) |
|
|||
3363 | h (upgraded !) |
|
|||
3364 | h (upgraded-parallel !) |
|
|||
3365 | h (changeset !) |
|
|||
3366 | h (compatibility !) |
|
|||
3367 | A t |
|
3361 | A t | |
3368 | p |
|
3362 | p | |
3369 | R a |
|
3363 | R a | |
@@ -3422,10 +3416,6 b' BROKEN: `hg log --follow <file>` relies ' | |||||
3422 | | : |
|
3416 | | : | |
3423 | o : f-1: rename h -> i |
|
3417 | o : f-1: rename h -> i | |
3424 | :/ |
|
3418 | :/ | |
3425 | o i-2: c -move-> d, s -move-> t (known-bad-output !) |
|
|||
3426 | | (known-bad-output !) |
|
|||
3427 | o i-1: a -move-> c, p -move-> s (known-bad-output !) |
|
|||
3428 | | (known-bad-output !) |
|
|||
3429 |
|
|
3419 | o i-0 initial commit: a b h p q r | |
3430 |
|
3420 | |||
3431 | #else |
|
3421 | #else |
@@ -84,6 +84,7 b' insert unsupported advisory merge record' | |||||
84 | ancestor path: e (node 0000000000000000000000000000000000000000) |
|
84 | ancestor path: e (node 0000000000000000000000000000000000000000) | |
85 | other path: e (node 6b67ccefd5ce6de77e7ead4f5292843a0255329f) |
|
85 | other path: e (node 6b67ccefd5ce6de77e7ead4f5292843a0255329f) | |
86 | extra: ancestorlinknode = 0000000000000000000000000000000000000000 |
|
86 | extra: ancestorlinknode = 0000000000000000000000000000000000000000 | |
|
87 | extra: merged = yes | |||
87 | $ hg resolve -l |
|
88 | $ hg resolve -l | |
88 | U e |
|
89 | U e | |
89 |
|
90 |
@@ -96,17 +96,20 b' Non-interactive merge:' | |||||
96 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
96 | other path: file1 (node 0000000000000000000000000000000000000000) | |
97 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
97 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
98 | extra: merge-removal-candidate = yes |
|
98 | extra: merge-removal-candidate = yes | |
|
99 | extra: merged = yes | |||
99 | file: file2 (state "u") |
|
100 | file: file2 (state "u") | |
100 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
101 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
101 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
102 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
102 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
103 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
103 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
104 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
104 | extra: merge-removal-candidate = yes |
|
105 | extra: merge-removal-candidate = yes | |
|
106 | extra: merged = yes | |||
105 | file: file3 (state "u") |
|
107 | file: file3 (state "u") | |
106 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") |
|
108 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") | |
107 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) |
|
109 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) | |
108 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) |
|
110 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) | |
109 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
111 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
112 | extra: merged = yes | |||
110 | --- file1 --- |
|
113 | --- file1 --- | |
111 | 1 |
|
114 | 1 | |
112 | changed |
|
115 | changed | |
@@ -163,17 +166,20 b' Interactive merge:' | |||||
163 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
166 | other path: file1 (node 0000000000000000000000000000000000000000) | |
164 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
167 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
165 | extra: merge-removal-candidate = yes |
|
168 | extra: merge-removal-candidate = yes | |
|
169 | extra: merged = yes | |||
166 | file: file2 (state "r") |
|
170 | file: file2 (state "r") | |
167 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
171 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
168 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
172 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
169 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
173 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
170 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
174 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
171 | extra: merge-removal-candidate = yes |
|
175 | extra: merge-removal-candidate = yes | |
|
176 | extra: merged = yes | |||
172 | file: file3 (state "u") |
|
177 | file: file3 (state "u") | |
173 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") |
|
178 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") | |
174 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) |
|
179 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) | |
175 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) |
|
180 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) | |
176 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
181 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
182 | extra: merged = yes | |||
177 | --- file1 --- |
|
183 | --- file1 --- | |
178 | 1 |
|
184 | 1 | |
179 | changed |
|
185 | changed | |
@@ -243,17 +249,20 b' Interactive merge with bad input:' | |||||
243 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
249 | other path: file1 (node 0000000000000000000000000000000000000000) | |
244 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
250 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
245 | extra: merge-removal-candidate = yes |
|
251 | extra: merge-removal-candidate = yes | |
|
252 | extra: merged = yes | |||
246 | file: file2 (state "r") |
|
253 | file: file2 (state "r") | |
247 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
254 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
248 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
255 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
249 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
256 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
250 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
257 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
251 | extra: merge-removal-candidate = yes |
|
258 | extra: merge-removal-candidate = yes | |
|
259 | extra: merged = yes | |||
252 | file: file3 (state "u") |
|
260 | file: file3 (state "u") | |
253 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") |
|
261 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") | |
254 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) |
|
262 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) | |
255 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) |
|
263 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) | |
256 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
264 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
265 | extra: merged = yes | |||
257 | *** file1 does not exist |
|
266 | *** file1 does not exist | |
258 | --- file2 --- |
|
267 | --- file2 --- | |
259 | 2 |
|
268 | 2 | |
@@ -307,17 +316,20 b' Interactive merge with not enough input:' | |||||
307 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
316 | other path: file1 (node 0000000000000000000000000000000000000000) | |
308 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
317 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
309 | extra: merge-removal-candidate = yes |
|
318 | extra: merge-removal-candidate = yes | |
|
319 | extra: merged = yes | |||
310 | file: file2 (state "u") |
|
320 | file: file2 (state "u") | |
311 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
321 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
312 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
322 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
313 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
323 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
314 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
324 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
315 | extra: merge-removal-candidate = yes |
|
325 | extra: merge-removal-candidate = yes | |
|
326 | extra: merged = yes | |||
316 | file: file3 (state "u") |
|
327 | file: file3 (state "u") | |
317 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") |
|
328 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") | |
318 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) |
|
329 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) | |
319 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) |
|
330 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) | |
320 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
331 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
332 | extra: merged = yes | |||
321 | *** file1 does not exist |
|
333 | *** file1 does not exist | |
322 | --- file2 --- |
|
334 | --- file2 --- | |
323 | 2 |
|
335 | 2 | |
@@ -358,17 +370,20 b' Choose local versions of files' | |||||
358 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
370 | other path: file1 (node 0000000000000000000000000000000000000000) | |
359 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
371 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
360 | extra: merge-removal-candidate = yes |
|
372 | extra: merge-removal-candidate = yes | |
|
373 | extra: merged = yes | |||
361 | file: file2 (state "r") |
|
374 | file: file2 (state "r") | |
362 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
375 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
363 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
376 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
364 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
377 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
365 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
378 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
366 | extra: merge-removal-candidate = yes |
|
379 | extra: merge-removal-candidate = yes | |
|
380 | extra: merged = yes | |||
367 | file: file3 (state "r") |
|
381 | file: file3 (state "r") | |
368 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") |
|
382 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") | |
369 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) |
|
383 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) | |
370 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) |
|
384 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) | |
371 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
385 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
386 | extra: merged = yes | |||
372 | --- file1 --- |
|
387 | --- file1 --- | |
373 | 1 |
|
388 | 1 | |
374 | changed |
|
389 | changed | |
@@ -405,17 +420,20 b' Choose other versions of files' | |||||
405 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
420 | other path: file1 (node 0000000000000000000000000000000000000000) | |
406 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
421 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
407 | extra: merge-removal-candidate = yes |
|
422 | extra: merge-removal-candidate = yes | |
|
423 | extra: merged = yes | |||
408 | file: file2 (state "r") |
|
424 | file: file2 (state "r") | |
409 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
425 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
410 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
426 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
411 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
427 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
412 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
428 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
413 | extra: merge-removal-candidate = yes |
|
429 | extra: merge-removal-candidate = yes | |
|
430 | extra: merged = yes | |||
414 | file: file3 (state "r") |
|
431 | file: file3 (state "r") | |
415 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") |
|
432 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") | |
416 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) |
|
433 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) | |
417 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) |
|
434 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) | |
418 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
435 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
436 | extra: merged = yes | |||
419 | *** file1 does not exist |
|
437 | *** file1 does not exist | |
420 | --- file2 --- |
|
438 | --- file2 --- | |
421 | 2 |
|
439 | 2 | |
@@ -453,17 +471,20 b' Fail' | |||||
453 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
471 | other path: file1 (node 0000000000000000000000000000000000000000) | |
454 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
472 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
455 | extra: merge-removal-candidate = yes |
|
473 | extra: merge-removal-candidate = yes | |
|
474 | extra: merged = yes | |||
456 | file: file2 (state "u") |
|
475 | file: file2 (state "u") | |
457 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
476 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
458 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
477 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
459 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
478 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
460 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
479 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
461 | extra: merge-removal-candidate = yes |
|
480 | extra: merge-removal-candidate = yes | |
|
481 | extra: merged = yes | |||
462 | file: file3 (state "u") |
|
482 | file: file3 (state "u") | |
463 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") |
|
483 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") | |
464 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) |
|
484 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) | |
465 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) |
|
485 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) | |
466 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
486 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
487 | extra: merged = yes | |||
467 | --- file1 --- |
|
488 | --- file1 --- | |
468 | 1 |
|
489 | 1 | |
469 | changed |
|
490 | changed | |
@@ -512,17 +533,20 b' Force prompts with no input (should be s' | |||||
512 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
533 | other path: file1 (node 0000000000000000000000000000000000000000) | |
513 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
534 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
514 | extra: merge-removal-candidate = yes |
|
535 | extra: merge-removal-candidate = yes | |
|
536 | extra: merged = yes | |||
515 | file: file2 (state "u") |
|
537 | file: file2 (state "u") | |
516 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
538 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
517 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
539 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
518 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
540 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
519 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
541 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
520 | extra: merge-removal-candidate = yes |
|
542 | extra: merge-removal-candidate = yes | |
|
543 | extra: merged = yes | |||
521 | file: file3 (state "u") |
|
544 | file: file3 (state "u") | |
522 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") |
|
545 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") | |
523 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) |
|
546 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) | |
524 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) |
|
547 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) | |
525 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
548 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
549 | extra: merged = yes | |||
526 | --- file1 --- |
|
550 | --- file1 --- | |
527 | 1 |
|
551 | 1 | |
528 | changed |
|
552 | changed | |
@@ -573,17 +597,20 b' Force prompts' | |||||
573 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
597 | other path: file1 (node 0000000000000000000000000000000000000000) | |
574 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
598 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
575 | extra: merge-removal-candidate = yes |
|
599 | extra: merge-removal-candidate = yes | |
|
600 | extra: merged = yes | |||
576 | file: file2 (state "u") |
|
601 | file: file2 (state "u") | |
577 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
602 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
578 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
603 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
579 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
604 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
580 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
605 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
581 | extra: merge-removal-candidate = yes |
|
606 | extra: merge-removal-candidate = yes | |
|
607 | extra: merged = yes | |||
582 | file: file3 (state "u") |
|
608 | file: file3 (state "u") | |
583 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") |
|
609 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") | |
584 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) |
|
610 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) | |
585 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) |
|
611 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) | |
586 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
612 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
613 | extra: merged = yes | |||
587 | --- file1 --- |
|
614 | --- file1 --- | |
588 | 1 |
|
615 | 1 | |
589 | changed |
|
616 | changed | |
@@ -631,17 +658,20 b' Choose to merge all files' | |||||
631 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
658 | other path: file1 (node 0000000000000000000000000000000000000000) | |
632 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
659 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
633 | extra: merge-removal-candidate = yes |
|
660 | extra: merge-removal-candidate = yes | |
|
661 | extra: merged = yes | |||
634 | file: file2 (state "u") |
|
662 | file: file2 (state "u") | |
635 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
663 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
636 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
664 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
637 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
665 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
638 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
666 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
639 | extra: merge-removal-candidate = yes |
|
667 | extra: merge-removal-candidate = yes | |
|
668 | extra: merged = yes | |||
640 | file: file3 (state "u") |
|
669 | file: file3 (state "u") | |
641 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") |
|
670 | local path: file3 (hash d5b0a58bc47161b1b8a831084b366f757c4f0b11, flags "") | |
642 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) |
|
671 | ancestor path: file3 (node 2661d26c649684b482d10f91960cc3db683c38b4) | |
643 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) |
|
672 | other path: file3 (node a2644c43e210356772c7772a8674544a62e06beb) | |
644 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
673 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
674 | extra: merged = yes | |||
645 | --- file1 --- |
|
675 | --- file1 --- | |
646 | 1 |
|
676 | 1 | |
647 | changed |
|
677 | changed | |
@@ -801,11 +831,13 b' Non-interactive linear update' | |||||
801 | ancestor path: file1 (node b8e02f6433738021a065f94175c7cd23db5f05be) |
|
831 | ancestor path: file1 (node b8e02f6433738021a065f94175c7cd23db5f05be) | |
802 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
832 | other path: file1 (node 0000000000000000000000000000000000000000) | |
803 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
833 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
834 | extra: merged = yes | |||
804 | file: file2 (state "u") |
|
835 | file: file2 (state "u") | |
805 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
836 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
806 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
837 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
807 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
838 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
808 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
839 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
840 | extra: merged = yes | |||
809 | --- file1 --- |
|
841 | --- file1 --- | |
810 | 1 |
|
842 | 1 | |
811 | changed |
|
843 | changed | |
@@ -840,11 +872,13 b' Choose local versions of files' | |||||
840 | ancestor path: file1 (node b8e02f6433738021a065f94175c7cd23db5f05be) |
|
872 | ancestor path: file1 (node b8e02f6433738021a065f94175c7cd23db5f05be) | |
841 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
873 | other path: file1 (node 0000000000000000000000000000000000000000) | |
842 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
874 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
875 | extra: merged = yes | |||
843 | file: file2 (state "r") |
|
876 | file: file2 (state "r") | |
844 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
877 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
845 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
878 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
846 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
879 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
847 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
880 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
881 | extra: merged = yes | |||
848 | --- file1 --- |
|
882 | --- file1 --- | |
849 | 1 |
|
883 | 1 | |
850 | changed |
|
884 | changed | |
@@ -877,11 +911,13 b' Choose other versions of files' | |||||
877 | ancestor path: file1 (node b8e02f6433738021a065f94175c7cd23db5f05be) |
|
911 | ancestor path: file1 (node b8e02f6433738021a065f94175c7cd23db5f05be) | |
878 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
912 | other path: file1 (node 0000000000000000000000000000000000000000) | |
879 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
913 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
914 | extra: merged = yes | |||
880 | file: file2 (state "r") |
|
915 | file: file2 (state "r") | |
881 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
916 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
882 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
917 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
883 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
918 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
884 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
919 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
920 | extra: merged = yes | |||
885 | *** file1 does not exist |
|
921 | *** file1 does not exist | |
886 | --- file2 --- |
|
922 | --- file2 --- | |
887 | 2 |
|
923 | 2 | |
@@ -916,11 +952,13 b' Fail' | |||||
916 | ancestor path: file1 (node b8e02f6433738021a065f94175c7cd23db5f05be) |
|
952 | ancestor path: file1 (node b8e02f6433738021a065f94175c7cd23db5f05be) | |
917 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
953 | other path: file1 (node 0000000000000000000000000000000000000000) | |
918 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
954 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
955 | extra: merged = yes | |||
919 | file: file2 (state "u") |
|
956 | file: file2 (state "u") | |
920 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
957 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
921 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
958 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
922 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
959 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
923 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
960 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
961 | extra: merged = yes | |||
924 | --- file1 --- |
|
962 | --- file1 --- | |
925 | 1 |
|
963 | 1 | |
926 | changed |
|
964 | changed | |
@@ -963,11 +1001,13 b' Force prompts with no input' | |||||
963 | ancestor path: file1 (node b8e02f6433738021a065f94175c7cd23db5f05be) |
|
1001 | ancestor path: file1 (node b8e02f6433738021a065f94175c7cd23db5f05be) | |
964 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
1002 | other path: file1 (node 0000000000000000000000000000000000000000) | |
965 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
1003 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
1004 | extra: merged = yes | |||
966 | file: file2 (state "u") |
|
1005 | file: file2 (state "u") | |
967 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
1006 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
968 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
1007 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
969 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
1008 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
970 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
1009 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
1010 | extra: merged = yes | |||
971 | --- file1 --- |
|
1011 | --- file1 --- | |
972 | 1 |
|
1012 | 1 | |
973 | changed |
|
1013 | changed | |
@@ -1011,11 +1051,13 b' Choose to merge all files' | |||||
1011 | ancestor path: file1 (node b8e02f6433738021a065f94175c7cd23db5f05be) |
|
1051 | ancestor path: file1 (node b8e02f6433738021a065f94175c7cd23db5f05be) | |
1012 | other path: file1 (node 0000000000000000000000000000000000000000) |
|
1052 | other path: file1 (node 0000000000000000000000000000000000000000) | |
1013 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
1053 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
1054 | extra: merged = yes | |||
1014 | file: file2 (state "u") |
|
1055 | file: file2 (state "u") | |
1015 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") |
|
1056 | local path: file2 (hash 0000000000000000000000000000000000000000, flags "") | |
1016 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) |
|
1057 | ancestor path: file2 (node 5d9299349fc01ddd25d0070d149b124d8f10411e) | |
1017 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) |
|
1058 | other path: file2 (node e7c1328648519852e723de86c0c0525acd779257) | |
1018 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff |
|
1059 | extra: ancestorlinknode = ab57bf49aa276a22d35a473592d4c34b5abc3eff | |
|
1060 | extra: merged = yes | |||
1019 | --- file1 --- |
|
1061 | --- file1 --- | |
1020 | 1 |
|
1062 | 1 | |
1021 | changed |
|
1063 | changed |
@@ -540,6 +540,7 b' Do all the merge combination (from the deleted or the update side \xc3\x97 keeping and deleting the file' | |||||
540 | other path: the-file (node 59e363a07dc876278f0e41756236f30213b6b460) |
|
540 | other path: the-file (node 59e363a07dc876278f0e41756236f30213b6b460) | |
541 | extra: ancestorlinknode = 955800955977bd6c103836ee3e437276e940a589 |
|
541 | extra: ancestorlinknode = 955800955977bd6c103836ee3e437276e940a589 | |
542 | extra: merge-removal-candidate = yes |
|
542 | extra: merge-removal-candidate = yes | |
|
543 | extra: merged = yes | |||
543 | extra: other-file (filenode-source = other) |
|
544 | extra: other-file (filenode-source = other) | |
544 | $ hg ci -m "merge-deleting-the-file-from-deleted" |
|
545 | $ hg ci -m "merge-deleting-the-file-from-deleted" | |
545 | $ hg manifest |
|
546 | $ hg manifest | |
@@ -563,6 +564,7 b' Do all the merge combination (from the deleted or the update side \xc3\x97 keeping and deleting the file' | |||||
563 | other path: the-file (node 0000000000000000000000000000000000000000) |
|
564 | other path: the-file (node 0000000000000000000000000000000000000000) | |
564 | extra: ancestorlinknode = 955800955977bd6c103836ee3e437276e940a589 |
|
565 | extra: ancestorlinknode = 955800955977bd6c103836ee3e437276e940a589 | |
565 | extra: merge-removal-candidate = yes |
|
566 | extra: merge-removal-candidate = yes | |
|
567 | extra: merged = yes | |||
566 | $ hg ci -m "merge-deleting-the-file-from-updated" |
|
568 | $ hg ci -m "merge-deleting-the-file-from-updated" | |
567 | created new head |
|
569 | created new head | |
568 | $ hg manifest |
|
570 | $ hg manifest | |
@@ -586,6 +588,7 b' Do all the merge combination (from the deleted or the update side \xc3\x97 keeping and deleting the file' | |||||
586 | other path: the-file (node 59e363a07dc876278f0e41756236f30213b6b460) |
|
588 | other path: the-file (node 59e363a07dc876278f0e41756236f30213b6b460) | |
587 | extra: ancestorlinknode = 955800955977bd6c103836ee3e437276e940a589 |
|
589 | extra: ancestorlinknode = 955800955977bd6c103836ee3e437276e940a589 | |
588 | extra: merge-removal-candidate = yes |
|
590 | extra: merge-removal-candidate = yes | |
|
591 | extra: merged = yes | |||
589 | extra: other-file (filenode-source = other) |
|
592 | extra: other-file (filenode-source = other) | |
590 | $ hg ci -m "merge-keeping-the-file-from-deleted" |
|
593 | $ hg ci -m "merge-keeping-the-file-from-deleted" | |
591 | created new head |
|
594 | created new head | |
@@ -614,6 +617,7 b' Do all the merge combination (from the deleted or the update side \xc3\x97 keeping and deleting the file' | |||||
614 | other path: the-file (node 0000000000000000000000000000000000000000) |
|
617 | other path: the-file (node 0000000000000000000000000000000000000000) | |
615 | extra: ancestorlinknode = 955800955977bd6c103836ee3e437276e940a589 |
|
618 | extra: ancestorlinknode = 955800955977bd6c103836ee3e437276e940a589 | |
616 | extra: merge-removal-candidate = yes |
|
619 | extra: merge-removal-candidate = yes | |
|
620 | extra: merged = yes | |||
617 | $ hg ci -m "merge-keeping-the-file-from-updated" |
|
621 | $ hg ci -m "merge-keeping-the-file-from-updated" | |
618 | created new head |
|
622 | created new head | |
619 | $ hg manifest |
|
623 | $ hg manifest | |
@@ -695,6 +699,7 b' the conflict is properly detected.' | |||||
695 | other path: the-file (node 885af55420b35d7bf3bbd6f546615295bfe6544a) |
|
699 | other path: the-file (node 885af55420b35d7bf3bbd6f546615295bfe6544a) | |
696 | extra: ancestorlinknode = 9b610631ab29024c5f44af7d2c19658ef8f8f071 |
|
700 | extra: ancestorlinknode = 9b610631ab29024c5f44af7d2c19658ef8f8f071 | |
697 | extra: merge-removal-candidate = yes |
|
701 | extra: merge-removal-candidate = yes | |
|
702 | extra: merged = yes | |||
698 | #else |
|
703 | #else | |
699 | $ hg debugmergestate |
|
704 | $ hg debugmergestate | |
700 | local (working copy): adfd88e5d7d3d3e22bdd26512991ee64d59c1d8f |
|
705 | local (working copy): adfd88e5d7d3d3e22bdd26512991ee64d59c1d8f | |
@@ -763,6 +768,7 b' BROKEN: this should result in conflict' | |||||
763 | other path: the-file (node 885af55420b35d7bf3bbd6f546615295bfe6544a) |
|
768 | other path: the-file (node 885af55420b35d7bf3bbd6f546615295bfe6544a) | |
764 | extra: ancestorlinknode = 9b610631ab29024c5f44af7d2c19658ef8f8f071 |
|
769 | extra: ancestorlinknode = 9b610631ab29024c5f44af7d2c19658ef8f8f071 | |
765 | extra: merge-removal-candidate = yes |
|
770 | extra: merge-removal-candidate = yes | |
|
771 | extra: merged = yes | |||
766 | #else |
|
772 | #else | |
767 | $ hg debugmergestate |
|
773 | $ hg debugmergestate | |
768 | local (working copy): a4e0e44229dc130be2915b92c957c093f8c7ee3e |
|
774 | local (working copy): a4e0e44229dc130be2915b92c957c093f8c7ee3e | |
@@ -886,6 +892,7 b' BROKEN: this should result in conflict' | |||||
886 | other path: the-file (node 0000000000000000000000000000000000000000) |
|
892 | other path: the-file (node 0000000000000000000000000000000000000000) | |
887 | extra: ancestorlinknode = 9b610631ab29024c5f44af7d2c19658ef8f8f071 |
|
893 | extra: ancestorlinknode = 9b610631ab29024c5f44af7d2c19658ef8f8f071 | |
888 | extra: merge-removal-candidate = yes |
|
894 | extra: merge-removal-candidate = yes | |
|
895 | extra: merged = yes | |||
889 | #else |
|
896 | #else | |
890 | $ hg debugmergestate |
|
897 | $ hg debugmergestate | |
891 | local (working copy): e9b7081317232edce73f7ad5ae0b7807ff5c326a |
|
898 | local (working copy): e9b7081317232edce73f7ad5ae0b7807ff5c326a | |
@@ -923,6 +930,7 b' BROKEN: this should result in conflict' | |||||
923 | other path: the-file (node 0000000000000000000000000000000000000000) |
|
930 | other path: the-file (node 0000000000000000000000000000000000000000) | |
924 | extra: ancestorlinknode = 9b610631ab29024c5f44af7d2c19658ef8f8f071 |
|
931 | extra: ancestorlinknode = 9b610631ab29024c5f44af7d2c19658ef8f8f071 | |
925 | extra: merge-removal-candidate = yes |
|
932 | extra: merge-removal-candidate = yes | |
|
933 | extra: merged = yes | |||
926 | #else |
|
934 | #else | |
927 | $ hg debugmergestate |
|
935 | $ hg debugmergestate | |
928 | local (working copy): e9b7081317232edce73f7ad5ae0b7807ff5c326a |
|
936 | local (working copy): e9b7081317232edce73f7ad5ae0b7807ff5c326a |
@@ -1844,6 +1844,7 b' The local node should now point to a non' | |||||
1844 | ancestor path: file (node bc7ebe2d260cff30d2a39a130d84add36216f791) |
|
1844 | ancestor path: file (node bc7ebe2d260cff30d2a39a130d84add36216f791) | |
1845 | other path: file (node b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3) |
|
1845 | other path: file (node b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3) | |
1846 | extra: ancestorlinknode = b73b8c9a4ab4da89a5a35a6f10dfb13edc84ca37 |
|
1846 | extra: ancestorlinknode = b73b8c9a4ab4da89a5a35a6f10dfb13edc84ca37 | |
|
1847 | extra: merged = yes | |||
1847 | We should be able to see the log (without the deleted commit, of course) |
|
1848 | We should be able to see the log (without the deleted commit, of course) | |
1848 | $ hg log -G |
|
1849 | $ hg log -G | |
1849 | @ 0:f53e9479dce5 (draft) [tip ] first |
|
1850 | @ 0:f53e9479dce5 (draft) [tip ] first |
@@ -95,6 +95,7 b' Insert unsupported advisory merge record' | |||||
95 | ancestor path: common (node de0a666fdd9c1a0b0698b90d85064d8bd34f74b6) |
|
95 | ancestor path: common (node de0a666fdd9c1a0b0698b90d85064d8bd34f74b6) | |
96 | other path: common (node 2f6411de53677f6f1048fef5bf888d67a342e0a5) |
|
96 | other path: common (node 2f6411de53677f6f1048fef5bf888d67a342e0a5) | |
97 | extra: ancestorlinknode = 3163e20567cc93074fbb7a53c8b93312e59dbf2c |
|
97 | extra: ancestorlinknode = 3163e20567cc93074fbb7a53c8b93312e59dbf2c | |
|
98 | extra: merged = yes | |||
98 | $ hg resolve -l |
|
99 | $ hg resolve -l | |
99 | U common |
|
100 | U common | |
100 |
|
101 |
@@ -255,11 +255,13 b' insert unsupported advisory merge record' | |||||
255 | ancestor path: file1 (node 2ed2a3912a0b24502043eae84ee4b279c18b90dd) |
|
255 | ancestor path: file1 (node 2ed2a3912a0b24502043eae84ee4b279c18b90dd) | |
256 | other path: file1 (node 6f4310b00b9a147241b071a60c28a650827fb03d) |
|
256 | other path: file1 (node 6f4310b00b9a147241b071a60c28a650827fb03d) | |
257 | extra: ancestorlinknode = 99726c03216e233810a2564cbc0adfe395007eac |
|
257 | extra: ancestorlinknode = 99726c03216e233810a2564cbc0adfe395007eac | |
|
258 | extra: merged = yes | |||
258 | file: file2 (state "u") |
|
259 | file: file2 (state "u") | |
259 | local path: file2 (hash cb99b709a1978bd205ab9dfd4c5aaa1fc91c7523, flags "") |
|
260 | local path: file2 (hash cb99b709a1978bd205ab9dfd4c5aaa1fc91c7523, flags "") | |
260 | ancestor path: file2 (node 2ed2a3912a0b24502043eae84ee4b279c18b90dd) |
|
261 | ancestor path: file2 (node 2ed2a3912a0b24502043eae84ee4b279c18b90dd) | |
261 | other path: file2 (node 6f4310b00b9a147241b071a60c28a650827fb03d) |
|
262 | other path: file2 (node 6f4310b00b9a147241b071a60c28a650827fb03d) | |
262 | extra: ancestorlinknode = 99726c03216e233810a2564cbc0adfe395007eac |
|
263 | extra: ancestorlinknode = 99726c03216e233810a2564cbc0adfe395007eac | |
|
264 | extra: merged = yes | |||
263 | $ hg resolve -l |
|
265 | $ hg resolve -l | |
264 | R file1 |
|
266 | R file1 | |
265 | U file2 |
|
267 | U file2 | |
@@ -271,7 +273,7 b' test json output' | |||||
271 | { |
|
273 | { | |
272 | "commits": [{"label": "working copy", "name": "local", "node": "57653b9f834a4493f7240b0681efcb9ae7cab745"}, {"label": "merge rev", "name": "other", "node": "dc77451844e37f03f5c559e3b8529b2b48d381d1"}], |
|
274 | "commits": [{"label": "working copy", "name": "local", "node": "57653b9f834a4493f7240b0681efcb9ae7cab745"}, {"label": "merge rev", "name": "other", "node": "dc77451844e37f03f5c559e3b8529b2b48d381d1"}], | |
273 | "extras": [], |
|
275 | "extras": [], | |
274 | "files": [{"ancestor_node": "2ed2a3912a0b24502043eae84ee4b279c18b90dd", "ancestor_path": "file1", "extras": [{"key": "ancestorlinknode", "value": "99726c03216e233810a2564cbc0adfe395007eac"}], "local_flags": "", "local_key": "60b27f004e454aca81b0480209cce5081ec52390", "local_path": "file1", "other_node": "6f4310b00b9a147241b071a60c28a650827fb03d", "other_path": "file1", "path": "file1", "state": "r"}, {"ancestor_node": "2ed2a3912a0b24502043eae84ee4b279c18b90dd", "ancestor_path": "file2", "extras": [{"key": "ancestorlinknode", "value": "99726c03216e233810a2564cbc0adfe395007eac"}], "local_flags": "", "local_key": "cb99b709a1978bd205ab9dfd4c5aaa1fc91c7523", "local_path": "file2", "other_node": "6f4310b00b9a147241b071a60c28a650827fb03d", "other_path": "file2", "path": "file2", "state": "u"}] |
|
276 | "files": [{"ancestor_node": "2ed2a3912a0b24502043eae84ee4b279c18b90dd", "ancestor_path": "file1", "extras": [{"key": "ancestorlinknode", "value": "99726c03216e233810a2564cbc0adfe395007eac"}, {"key": "merged", "value": "yes"}], "local_flags": "", "local_key": "60b27f004e454aca81b0480209cce5081ec52390", "local_path": "file1", "other_node": "6f4310b00b9a147241b071a60c28a650827fb03d", "other_path": "file1", "path": "file1", "state": "r"}, {"ancestor_node": "2ed2a3912a0b24502043eae84ee4b279c18b90dd", "ancestor_path": "file2", "extras": [{"key": "ancestorlinknode", "value": "99726c03216e233810a2564cbc0adfe395007eac"}, {"key": "merged", "value": "yes"}], "local_flags": "", "local_key": "cb99b709a1978bd205ab9dfd4c5aaa1fc91c7523", "local_path": "file2", "other_node": "6f4310b00b9a147241b071a60c28a650827fb03d", "other_path": "file2", "path": "file2", "state": "u"}] | |
275 | } |
|
277 | } | |
276 | ] |
|
278 | ] | |
277 |
|
279 |
General Comments 0
You need to be logged in to leave comments.
Login now