Hi Howard,

I believe you will find that 

        cvs -n status

may be used inside of a cvs commit trigger with no problems.

My loginfo triggers use

        cvs -Qn status $file

in order to get the new version number of each of the files committed
which I include in the e-mail summary of the commit.

        Enjoy!
        -- Mark

> From: "Howard Zhou" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> References: <[EMAIL PROTECTED]>
> Subject: Detect Branch in CVS
> Date: Tue, 6 Mar 2001 22:25:48 -0800
> 
> To determine a branch, use "cvs status" on a file in the workspace and check
> the sticky tag. I want to be able to do this in commitinfo trigger script.
> Unfortunatelly "cvs status" won't run during the commit process. Is there
> any way around or better way to determine a branch?
> 
> Thanks.
> 
> Howard

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

Reply via email to