[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/notes webdav-usage.html

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-08-18 12:57:46 CEST

On Fri, Aug 18, 2000 at 10:48:41AM +0100, Joe Orton wrote:
> On Fri, Aug 18, 2000 at 02:09:57AM -0700, Greg Stein wrote:
> > On Fri, Aug 18, 2000 at 03:48:44AM +0100, Joe Orton wrote:
> > >...
> > > Excellent. It would be good to see a bit more detail: when are the Etags
> > > going to be fetched: is this going to mean extra round-trips at various
> > > points? e.g. after I checkin, is an extra propfind round needed to get
> > > etags of newly-checked in files?
> >
> > The etags will not be used. I'll add a note about etags, however, because
> > they will need to be generated.
> Ah, I don't think I explained myself clearly... the http-delta I-D uses
> Etags for identifying old versions of resources so the server can send a
> diff relative to this previous version. My question is, when does the
> client find out these etags... e.g.
> client has version X of file Y. To do an 'update' on this file,
> according to the http-delta draft, it sends a GET request with
> If-None-Match: "etag-of-version-X".
> The specific case I thought about was after a checkin: the etag will
> have changed, so it might take an extra round-trip to find out the new
> etag?
> Hope that's a bit clearer...

Yup :-) [still need to read the I-D in detail]

And I just realized that we would also need the new version URLs, much like
we would want the new etags (for the I-D usage).

I'll need to ponder on this a bit more. There are a couple approaches:

1) return more information in the MERGE response

2) the client can fetch a REPORT to get the new information (dunno if there
   is a std one we can use). note that we can have SVN-specific reports.

3) both of the above would be pretty SVN specific. I'll review what our
   generic options are. maybe think on the "right" answer and post the
   problem to the Delta-V group.

I'll include this into the doc for now. Note that fetching deltas can be
deferred for a bit, until this is resolved. Until then, we just fetch the
whole darn body.


Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:07 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.