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

Re: Question about svn diff --xml

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Wed, 09 Jul 2008 06:45:13 -0400

Gonzalez Diaz, Xoan wrote:
> In this concrete momment my simple needs are:
> - To show side by side (something similar to visual merge tools), for
> example in a html table, the modified lines in different revisions of
> the file
> - To show the number of modified lines (I guess this could be achieved
> by other ways different from xml output of diff)

Rather than add a new switch to Subversion of (IMNSHO) dubious general value,
why not see how other applications handle this. Trac[1] does this already, as
does SVN::Web[2] (and I'm sure there are many more) just by using the regular
diff output. In particular, you might find the code in SVN::Web::DiffParser
illuminating...

John

1) http://trac.edgewall.org/
2) http://search.cpan.org/search?query=SVN%3A%3AWeb&mode=all

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-09 12:45:39 CEST

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.