[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 11:09:57 CEST

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.

We will catch version mismatch at CHECKOUT time. Since the DAV:checkout-fork
is set to "discouraged", an error will be returned if we are not checking
out the "head" of the branch. Hmm. One sec...

Note that SVN only deals with the latest version of a file/dir. We will
never attempt to check-out and work with a prior version since you cannot
branch upon checkin. You can certainly copy a prior version somewhere and
then begin a new development line.

Back to the original point: when the CHECKOUT is performed, how do we know
that we checked out the correct version? (rather than the latest on the
server?) Answer: the CHECKOUT body allows you to specify a version resource
URL. We will always supply a body containing that. In turn, this implies
that the client must know the version URL of each file that it holds.

I'll add some more detail here.

Thanx for the comments!


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.