I need to manage XML documents in Subversion, but I donβt want to control the formatting, which can turn out differently depending on who is editing the file.
I see two solutions: Each time format the file each time with known formatting before checking. Or give svn a diff program that actively rejects formatting from the diff algorithm. Ultimately, diff should, of course, support trilateral merging, actively ignoring XML formatting.
What do you recommend?
(The same reasoning usually applies to source code files, but the problem is more complicated.)
source share