info-cvs
[Top][All Lists]
Advanced

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

Re: permanent tag


From: Julian Opificius
Subject: Re: permanent tag
Date: Mon, 26 Sep 2005 16:26:28 -0500
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Steven W. Orr wrote:
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}


Ok, so now you're shaming me into it ;-)

Well now, I'll make it conditional for release tags - which all begin with "DO178", ... hmmm you're right, that shouldn't be too hard ...

I'll go rtfm, throw something together, and report back ...

Course, I shoulda said this has to work with WinCVS ...

j.





reply via email to

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