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

Re: Exclusive Locking: design in a nutshell

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: 2004-05-20 11:07:00 CEST

Josh Pieper wrote:

> Does the WebDAV spec explicitly state that versioning only occurs at
> UNLOCK time? If not, then it is possible that other WebDAV
> implementations could behave in the same manner, i.e. every PUT is a
> commit. This advice would also apply to operating Word on any
> versioning filesystem, not just WebDAV.

It depends. You can't modify a version-controlled resource without
checking it out (*). If you do, a new version will be created upon CHECKIN.

(*) Servers MAY support auto-versioning where old-style clients can
modify checked-in resources. Exactly when a new version is created
depends on the auto-versioning model in use, see
<http://greenbytes.de/tech/webdav/rfc3253.html#PROPERTY_auto-version>.
For clients that do use LOCK/UNLOCK (à la MS Office), the most useful
mode is DAV:checkout-unlocked-checkin, where the first modification of a
locked resource results in an automatic checkout, and the subsequent
removal of the lock results in a check-in.

Best regards, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 20 11:07:20 2004

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.