On Mon, Apr 22, 2013 at 3:30 PM, Ahmed, Omair (GE Oil & Gas) <
omair.ah...@ge.com> wrote:

> Hello,
>
> Is "Needs-Lock" the correct (or expected) mechanism by which to make a
> release tag immutable? Basically, I am looking for a way to "lock" a tag to
> prevent accidental updates.
>
> No. svn:needs-lock is an indicator for the SVN client that a file should
be marked as read-only until the user creates a lock in the repository. See
http://svnbook.red-bean.com/en/1.7/svn.advanced.locking.html

To make a tag immutable, you need to restrict access in the repository
itself. This is typically done via path-based authorization (deny write
access to the tag's path), or a pre-commit hook script (such as
svnperms.py) which rejects a commit which writes to that path.

Reply via email to