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

Re: svndiff and XML

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-10-12 00:42:09 CEST

On Wed, Oct 11, 2000 at 03:29:54PM -0700, Brian Behlendorf wrote:
> On Wed, 11 Oct 2000, Greg Stein wrote:
>...
> > > Do we need to go all the way down to base64?
> >
> > No.
> >
> > The DAV code can easily transfer binary data over the wire. Even in a
> > streamy fashion. We aren't going to need to do any encoding for content or
> > diffs transferred via DAV.
>
> Right, not because of DAV, but necessitated if our metadata diffing is
> still XML based.
>
> Maybe an "svndiff" is actually a multipart file that has some sections
> that are pure binary and other sections that are XML which describe the
> metadata changes.

Metadata changes travel over the wire in a PROPPATCH (which is XML-based).
Those will need encoding.

The "big content" will be happy.

Export formats would probably be a multipart as you suggest, but I'm not
sure that space savings or encoding (or lack thereof) performance will be an
issue in that case.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
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.