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

Re: Locking non-existent paths. Time to discuss.

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2005-03-21 16:14:20 CET

Julian Reschke <julian.reschke@gmx.de> writes:

> C. Michael Pilato wrote:
> > Ben Collins-Sussman <sussman@collab.net> writes:
> >
> >> * still interoperating with MS Office
> > ... with the unfortunately side effect of having every new file
> > creation look like *two* 0-byte PUTs (read, two commits of the same
> > empty file) -- one for the LOCK, and one for already-existing 0-byte
> > PUT that Office does. At least we can detect this fact, though, and
> > make the commit message read differently:
> > "WebDAV Autoversioning: Path '%s' reserved for locking with an
> > empty file."
> > "WebDAV Autoversioning: Modified '%s'.
>
> a) Does Office indeed to the 0-byte PUT (I'm not sure)?

Yes. Well, Office 2000 at least (didn't try 2003).

> b) Even if it does, shouldn't the LOCK braces cause it to be a single
> checkin? (see
> <http://greenbytes.de/tech/webdav/rfc3253.html#PROPERTY_auto-version>,
> DAV:checkout-unlocked-checkin).

Dunno about that. I do know that even if the DAV spec allows us to
"save up" all the changes on a resource into a single commit, that
doesn't mean our code is ready to support that behavior.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 21 16:40:19 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.