[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: XML diff-merge utility that plugs into TortoiseSVN?

From: Robert Roessler <robertr_at_rftp.com>
Date: 2006-11-06 00:38:24 CET

hedley.finger@myob.com wrote:
> I am using TortoiseSVN and Subversion to control versions of XML files
> (actually, conforming to the DITA schemas, if this helps anyone). These
> files are being opened and worked on by various editors that each have
> their own ideas of pretty-printing, tab/space replacement.
>
> While doing a commit recently I idly displayed the diff of a file being
> committed and was startled to see that content that would be considered
> identical by a conforming XML editor was being treated as a difference by
> TortoiseMerge, so that the delta was about the same size as the file
> itself!
>
> Can anybody recommend an XML diff/merge utility that plugs into TSVN? It
> needs to compare entire elements, ignoring whitespace, and handle
> attributes that are out of order but are otherwise identical according to
> the XML standards. And if it could perform various levels of compare, so
> much the better: just elements and tree structure, ignoring content;
> elements and content, ignoring attributes; everything, etc.

Offhand, it doesn't sound like [Tortoise]SVN (or any other content
management system which is based on "physical" diffing/patching of
files) is going to work out for you... at least not if you expect to
have "logical" differences control things (but that may just be me ;).

Turning it around, what would you expect to be stored in the database
to represent "changes"?

Robert Roessler
robertr@rftp.com
http://www.rftp.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Mon Nov 6 00:39:11 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.