[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tag protection

From: Gwen Park
Subject: Re: tag protection
Date: Thu, 17 May 2001 22:04:09 -0700

> Wondering if something can be done with the taginfo file - let me play around 
> with it a bit and try to come up with something.
>   -----Original Message-----
>   lock-branch script was very helpful, maybe there is similar script lying 
> arount to
>   protect tags from delete operation?

Try writing something like:


        ($tag, $action, $repository, @files) = (@ARGV);
        if ($action eq "del") {
                die "Error:  Deleting tags not permitted";

You can call this script from taginfo as follows:
        ALL     <path_to_script>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]