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

Locking: RFC: svn:needs-lock behaviors

From: Brian W. Fitzpatrick <fitz_at_collab.net>
Date: 2005-02-02 22:53:37 CET

Here's my mini-document on svn:needs-lock behaviors. Please look over
it and comment (especially Philip Martin, King of Properties). :-)

svn:needs-lock behaviors:
=========================

Checkout:
- If svn:needs-lock is set on a file when the file is checked out, set
  the file to read-only.

Update:
- If svn:needs-lock is unset in wc, but update sets it: Set file to
  read-only.
- If svn:needs-lock is set in wc, but update unsets it: Set file to
  write mode.
- If svn:needs-lock is set or unset in both places: Do nothing.

Propset:
- Setting the svn:needs-lock property sets the file to read-only
  (It also canonicalizes the value to '*')

Propdel:
- Removing svn:needs-lock sets the file to write mode.

Propedit:
- If the property is changed via propedit, we need to canonicalize it
  to '*'.

-Fitz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 2 22:54:38 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.