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

Re: Tags and branches are NOT the same

From: John Peacock <jpeacock_at_rowman.com>
Date: 2006-03-20 21:38:47 CET

John Calcote wrote:
> Speaking of branches, I would also like to see tags implemented such
> that people cannot commit a change from a work area produced from a tag
> - under any conditions.

That is a _convention_ that many sites adhere to, but doesn't need to be
coded into the _application_ itself. There are at least a couple of
ways to enforce that on the server, with a pre-commit hook being the
most easily managed. See:

        ./tools/hook-scripts/commit-access-control.pl

as one possible solution. At some point, if someone else doesn't beat
me to it, I will write a commit-write-once script which will permit any
user to create a tag, but refuse to write to an existing tags.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 20 21:40:40 2006

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