[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Freezing CVS tags
From: |
David Everly |
Subject: |
Re: Freezing CVS tags |
Date: |
Fri, 12 Oct 2001 15:10:45 -0600 |
User-agent: |
Mutt/1.2.5i |
I'm thinking that what I do works to not allow tag changes:
First, I define a 'cvsadmin' group.
Second, I place this line in $CVSROOT/CVSROOT/taginfo:
ALL $CVSROOT/CVSROOT/tagrules.sh
Third, I place tagrules.sh in my $CVSROOT/CVSROOT/checkoutlist
Fourth, my tagrules.sh looks like this:
#!/bin/sh
if [ $2 = "mov" ] ; then
echo "--->Please do not try to move or change tags."
exit 1
fi
if [ $2 = "del" ] ; then
echo "--->Please do not try to delete tags."
exit 1
fi
exit 0
On Fri, Oct 12, 2001 at 04:51:18PM -0400, Larry Jones wrote:
> address@hidden writes:
> >
> > Is there a way to freeze the CVS tag? After we create a CVS tag, we would
> > like to freeze it so that no one can change it and causes problem, is this
> > possible?
>
> No, but note that CVS won't move an existing tag unless you force it to
> by using the -F flag -- simply threaten to break the fingers of any user
> who uses it. :-)
>
> -Larry Jones
>
> What this games needs are negotiated settlements. -- Calvin
>
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
--
address@hidden
V-Net: 622-3286
Phone: 1-719-535-3286
Pager: 1-800-724-3624 # 140-1311