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

svnodiff - a differ for ODF based documents stored in subversion

From: Richard Bos <ml_at_radoeka.nl>
Date: 2007-05-08 20:24:45 CEST


as I have quite some ODF documents stored in an subversion repository, I have
been looking at ways how to 'svn diff ODF-files'. As I have not been able to
found such a utility I created one myself, and called it svnodiff. AFAIC
determine, it works similar to 'svn diff', with e.g. support for "-r
HEAD:PREV", not much more options are further available, there is e.g.
no "-x". In case you want to have a look at the script or want to try it,
the script can be obtained from: http://linux01.gwdg.de/apt4rpm/svnodiff

I'm interested in whether the used method to obtain the files (archives) for
diffing is okay. Perhaps that there are easier ways to do it. Would it be
possible to do it on the server instead of on the client?

Two things, at the moment it is required that the xml files are stored with
idented tags (that's about each opening tag should be on a seperate line).
The default action is to diff the content.xml files only, and than only the
body part. To obtain a full diff the -a (--all-files) option can be used.

Would it be possible to include such a differ in e.g. TortoiseSVN.

Hopefully this is usefull for someone, not sure whether this is the right list
for this announcement. Perhaps the OO.org would have been better?

Richard Bos
Without a home the journey is endless
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 8 20:25:03 2007

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

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