Comment 1 by Unknown User, Jul 1, 2007
added attachment meld-screenshot.png
- meld-screenshot.png - 136.33 kB
Comment 2 by Unknown User, Jul 1, 2007
Not sure how we would fix this. The way (file content) merging works is, we attempt to do our textual merge, and if the whole files merge cleanly, then great. However, even if most of the file merges cleanly (including clean merges resulting from identical edits on both sides), even one conflicting hunk will cause this stage to fail. If that stage fails, then we call the user's preferred merge tool, and just give it the left/right/ancestor files, and it gets to do the whole merge again from scratch, using whatever algorithms, heuristics, user interaction, whatever, that it is programmed with. It sounds like meld's are sucky when it comes to automatically resolving easy hunks so you can find the hard hunks that need your attention. There isn't any way for us to reach into meld's innards and tell it to automatically resolve certain hunks for you. The only way we could do that would be by somehow programmatically generating some made-up "ancestor" file, in such a way that typical 3-way line-by-line merge tools that happened to use the same diff algorithm as monotone would magically find fewer conflicts. This is obviously complex, error prone, and it would workaround the limitations of dumb merge tools at the cost of making it impossible to create reliable smart merge tools (that really do just want to be told the facts on the ground, and then do whatever clever thing they know how to do). Maybe it would be easier to fix meld so it could effectively "do the mindless clicking for you", automatically? I'm pretty sure both xxdiff and emacs' ediff-mode get this right, for instance.
Comment 3 by Unknown User, Jul 1, 2007
OK. Bottom line: Fix meld. Understood. I wasn't sure whose scope this change was in. Thanks for making it clear.
Comment 4 by Stephen Leake, Jun 24, 2012
Status:
Invalid
Sign in to reply to this comment.
Reported by Unknown User, Jul 1, 2007