I don't like moving or deleting tags, so I have the following taginfo
script:

#!/bin/sh

##
## do not allow anyone to move or delete tags
##

if [ $2 = "mov" ] ; then
   echo "--->Please do not try to move or change existing tags."
   exit 1
fi

if [ $2 = "del" ] ; then
   echo "--->Please do not try to delete tags."
   exit 1
fi

On Fri, Nov 30, 2001 at 12:03:22PM -0500, [EMAIL PROTECTED] wrote:
> Subject: Re: How to bring a branch back on a file when the tag has been moved
> To: [EMAIL PROTECTED] (Prabhu Ram)
> Date: Fri, 30 Nov 2001 11:01:52 -0500 (EST)
> Cc: [EMAIL PROTECTED]
> From: [EMAIL PROTECTED] (Larry Jones)
> 
> Prabhu Ram writes:
> > 
> > We have a branch on which dev. was taking place and someone accidentally
> > moved the tag (which is also the branch name) to the tip of the branch.  Is
> > there a "nice" way of setting the branch back to the branch point ?
> 
> No.  CVS won't move an existing tag unless you force it to using the -F
> flag, so you may want to beat up any users that always use -F to prevent
> future mistakes of that sort.  The current development version of CVS
> goes one step farther and refuses to convert a branch tag to a revision
> tag unless you also specify the -B flag, which should prevent such
> accidents completely.
> 
> -Larry Jones
> 
> Sometimes I think the surest sign that intelligent life exists elsewhere
> in the universe is that none of it has tried to contact us. -- Calvin

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to