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

Re: Making tags write-once with a pre-commit hook

From: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-04-01 02:12:12 CEST

Durden, Paul wrote:
> Nico,
> I found a Perl script that does this. However, I modified the script
> to also check the log message for a minimum length, and to allow
> changes to a tag if the author is a particular "super user." I did
> this, because I found that we sometimes needed to go back and rename
> tags because the developer who created the tag didn't follow the
> desired naming convention.
>
> Hope this helps.
>
> Paul

This is not what I asked for, although I appreciate the thought. You simply
are implementing user write permission in the pre-commit stage, which has
the advantage of working for local filesystem based access and not just
svnserve or HTTPS based access. This is fine, but what I really wanted was
"the only option permitted to project/tags is a commit of a new tag: no
editing is allowed".

I can play with it and see if I can finick my way into doing what I want:
unfortunately, pre-commit doesn't seem to have the flags to do it easily.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Apr 1 02:13:04 2006

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.