Stefan Huth wrote:
> 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>
> <url2 linenumber=10>System.out.println("Hello");</new>
> </string>
I can't comment on the suitability of the format but this XML isn't
quite XML. All attributes need to be quoted (e.g. revision="1500" or
revision='1500' instead of revision=1500). Also, the closing tag must
match the opening tag, so instead of:
<url1 linenumber=10>System.out.println();</old>
you'd have to write something like:
<old url="url1" linenumber="10">System.out.println();</old>
Ian
---------------------------------------------------------------------
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:23:27 2005