comparison tests/test-merge-revert.out @ 862:d70c1c31fd45

Fix 3-way-merge of original parent, workdir and new parent. The dirstate has to match what is in the repository (what would be checked out with 'hg update -C'), because the resulting file may be identical to the new parent, or it may be completely different. Previously the dirstate wasn't updated, so if you changed the file to look like the original parent, it might be considered unmodified relative to the new parent.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 10 Aug 2005 06:47:46 +0100
parents 9c918287d10b
children 6d6095823b82
comparison
equal deleted inserted replaced
861:cbe5c4d016b7 862:d70c1c31fd45
24 3aa14bbc23d9 tip 24 3aa14bbc23d9 tip
25 + hg update -C 0 25 + hg update -C 0
26 + hg update 26 + hg update
27 merging file1 27 merging file1
28 + hg diff 28 + hg diff
29 FIXME: This is a known bug:
30 + hg status 29 + hg status
31 + hg id 30 + hg id
32 3aa14bbc23d9 tip 31 3aa14bbc23d9 tip
33 + hg revert 32 + hg revert
34 + hg diff 33 + hg diff