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

Re: "freezing" a tag or branch tree

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-09-17 23:13:55 CEST

james-tigris@jrv.org writes:

> I'm thinking of hacking the client to look for a property named
> svn:nocommit and if it is present & non-nil then fail the commit and
> return the property contents as an error message.

Don't hack the client! Just write a pre-commit hook script that looks
for the custom property and rejects the commit.

This is a fine way to use properties. You're effectively creating a
super-simple ACL system, and having the pre-commit hook enforce it.

Someday, I hope, Subversion will have a "real" ACL sytem, perhaps one
controlled by user-tweakable properties.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 17 23:15:16 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.