info-cvs
[Top][All Lists]
Advanced

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

Re: permanent tag


From: Steven W. Orr
Subject: Re: permanent tag
Date: Mon, 26 Sep 2005 17:15:10 -0400 (EDT)

On Monday, Sep 26th 2005 at 16:01 -0500, quoth Julian Opificius:

=>Jim Hyslop wrote:
=>> Steven W. Orr wrote:
=>> 
=>> > It doesn't matter. Taginfo was created just for this purpose.
=>> 
=>> 
=>> On this list, I have found that many times, what people _think_ they want
=>> and what they actually need are two different things.
=>> 
=>You're telling me ;-)
=>
=>> Julian, I read your response and I agree that this is one time you really do
=>> want to prevent the tag from being moved. As Steven said, you can use
=>> taginfo for this; see
=>> http://ximbiot.com/cvs/manual/cvs-1.11.20/cvs_18.html#SEC179
=>> 
=>
=>
=>Thanks for the info, Jim. Looking at this I clearly have some work to do. I
=>must admit I was really hoping for a native feature.
=>
=>Thanks, all.
=>
=>julian.

I bet you can do it in just a few lines of shell or perl.

if [ $1 != admin ]
then
    echo "You cahnt doodat"
    exit 1
fi

Then just add it to the taginfo file.

DEFAULT /path/to/taginfo/hook/tagallower ${USER}

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steve_orr at guardium dot com




reply via email to

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