I have two conflicting files.
Here is the first file (a.xml
):
<doc>
<ignore name="ignore1" />
<ignore name="ignore2" />
<interesting name="foo.a" />
<ignore name="ignoreN" />
<interesting name="bar.a" />
</doc>
And here is the second one (b.xml
):
<doc>
<ignore name="ignore1" />
<ignore name="ignore2" />
<interesting name="foo.b" />
<ignore name="ignoreN" />
<interesting name="bar.b" />
</doc>
So basically it conflicts only on the interesting
parts.
And I want to get this result:
<doc>
<ignore name="ignore1" />
<ignore name="ignore2" />
<interesting name="foo.a" />
<interesting name="foo.b" />
<ignore name="ignoreN" />
<interesting name="bar.a" />
<interesting name="bar.b" />
</doc>
Is that possible with KDiff3 or any other merge tool ?
With KDiff3, I can do that manually but I'm looking for an automatic solution.