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

WG: svn diff --xml

From: Stefan Huth <S.Huth_at_coryx.de>
Date: 2005-06-20 15:57:23 CEST

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>
        <string><!--string replaced-->
                <url1 linenumber=21>System.out.println();</old>
                <url2 linenumber=21>System.out.println("World");</new>
        </string>
        <string><!--string added-->
                <url2 linenumber=22>System.out.println("!!!");</new>
                <url2 linenumber=23>System.out.println("Test");</new>
                <url2
linenumber=24>System.out.println("Printing");</new>
        </string>
</index>

The xml-String would be better for generating reports . I use it for
example with the log command, to generate some kind of readme out of the
xml-file.

Stefan Huth

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 20 17:03:54 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.