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

Re: How to make the "tags" folder immutable?

From: Shrinivasan <tshrinivasan_at_gmail.com>
Date: Wed, 8 Apr 2009 01:26:15 +0530

Thanks Andy & Geoff.

We have a single repository which has multiple projects.
every project has "tags" folders.

so we can not mention statically the full path of the "tags" folder
in the configuration file as the number of projects are varying.

Any hook script that search for a pattern matching for the name "tags"
and prevent for write would be fine.

> 1) As Andy suggested, use "authz" or path-based authorization to limit
> write access. This choice is limited because it doesn't support a very
> elegant form of pattern matching for the paths. If you often change the
> list of projects/areas, you may find this requires constant
> administration.

As tags folders are growing, we can not use this idea.

> 2) Develop a "pre-commit" hook using your favorite scripting/coding
> language. This allows you to use a fancier form of path pattern matching
> that can reduce your administration time.

Found a solution for linux, here.

The book "Subversion Version Control" by William Nagel downloaded from

talks this issue on
11.2.6 Make Tags Immutable

We need the same hook script for windows.

help me to get this.


My experiences with Linux are here
For Free and Open Source Jobs
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-07 21:59:15 CEST

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