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

Re: WG: svn diff --xml

From: André Malo <nd_at_perlig.de>
Date: 2005-06-24 21:40:12 CEST

* Philip Martin wrote:

> "Stefan Huth" <S.Huth@coryx.de> writes:
> > I thought about something like the svn log --xml command, where I
> > become the result as a xml-file.
> >
> > Maybe something like that:
> >
> > <index name="d:/programming/java/HelloWorld/src/HelloWorld.java">
> > <url1 revision=1500>./branches/v1.0/src/HelloWorld.java</url1>
> > <url2 revision=1500>./branches/v1.1/src/HelloWorld.java </url2>
> > <string><!--string replaced-->
> > <url1 linenumber=10>System.out.println();</old>
>
> I have no idea whether this is a sensible DTD, but it does have one
> obvious problem: the file contents might not be in the same encoding
> as the XML. That's why 'svn blame --xml' only outputs line numbers
> and not the line data.

Further it may not fit into XML at all. There are some characters, which may
not be used in XML.

nd

-- 
"Das Verhalten von Gates hatte mir bewiesen, dass ich auf ihn und seine
beiden Gefährten nicht zu zählen brauchte" -- Karl May, "Winnetou III"
Im Westen was neues: <http://pub.perlig.de/books.html#apache2>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 24 21:42:20 2005

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

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