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.
+ hg init
+ hg add a
+ hg commit -m first -d 0 0 a
+ hg add sub/b
+ hg commit -m second -d 0 0 sub/b
321
+ hg co 0
cat: sub/b: No such file or directory
ls: sub: No such file or directory