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

Re: Prevent SVN users from checking into a tag.

From: Hyrum K. Wright <hyrum_at_hyrumwright.org>
Date: Tue, 5 May 2009 11:30:54 -0500

Andres,
Thanks for your interest in sharing this with the Subversion
community. A script like this would generally live in the contrib/
portion of our repository. However, due to the widespread
availability of external hosting services and websites, we've found
that it's easier and better to point contributions outside of core
Subversion to those resources. contrib/ will be disappearing soon, so
I'd recommend you post your script somewhere online, and then
distribute that link, possibly through the users mailing list at users_at_subversion.tigris.org

Thanks,
-Hyrum

On May 5, 2009, at 11:18 AM, Andres Galeano wrote:

> Hello,
>
> I'd like to submit a patch to include this pre-commit hook in SVN.
>
> ------------------------------------------------------------
> This script will prevent SVN users from checking into a tag. A
> "tag" is considered to be under the "tags" folder and not under the
> "branches" or "trunk" folder.
> ------------------------------------------------------------
>
> I think many people will find this useful. It's saved me from
> making mistakes many times.
>
> -Andy
>
> ------------
> Andres Galeano, Software Engineer
>
> Email: andres.galeano_at_versatile.com
>
> Versatile Systems, Inc.
> Mechanicsburg, PA 17050
> http://www.versatile.com
> ------------
>
> <no-tag-commit-hook-patch.txt>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2070721
Received on 2009-05-05 18:31:16 CEST

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