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

Re: CVS update: subversion/subversion/libsvn_subr xml.c

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2000-10-05 02:23:10 CEST

Something I wanted to mention in the commit here (vi exited on me at
the wrong time) is that the XML editor currently produces very lame
output for text deltas, because we're still waiting on Branko's work.
Basically, you'll see:

        <text-delta>[vcdiff window]</text-delta>

If push comes to shove, I can make it handle windows with one "insert
new" instruction and spit out pseudo-vcdiff output like we do in test
deltas. That might be useful for milestone 1.

Another caveat is that, because my code doesn't actually peek inside
the window structure, my little exerciser program passes it a pointer
to a complete uninitialized window. :) So that will have to be fixed
as soon as the window handler is changed to do anything useful. I'm
willing to take care of that, of course.

I'm also not doing any indentation, because it was significantly
easier that way. (Though I've thought about how to make indentation
happen.) Here's the output from my exerciser program, so that people
can see the resulting ugliness:

        egyptian-gods% ./xml-output-test
        <?xml version='1.0' encoding='utf-8'?>
        <delta-pkg>
        <tree-delta>
        <replace name='foo'><dir ancestor='aaa' ver='2'>
        <tree-delta>
        <replace name='bar'><file>
        <text-delta>[vcdiff window]</text-delta>
        </file></replace>
        <replace name='baz'><file>
        <prop-delta>
        <set name='bbb'>ccc</set>
        <delete name='aaa'/>
        </prop-delta>
        <text-delta-ref id='1'>
        </file></replace>
        </tree-delta>
        </dir></replace>
        <prop-delta>
        <set name='ccc'>bbb</set>
        </prop-delta>
        </dir>
        <text-delta id='1'></text-delta>
        </delta-pkg>
Received on Sat Oct 21 14:36:10 2006

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.