[Top][All Lists]

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

Re: Detect Branch in CVS

From: Mark D. Baushke
Subject: Re: Detect Branch in CVS
Date: Wed, 07 Mar 2001 10:39:35 -0800

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.

        -- Mark

> From: "Howard Zhou" <address@hidden>
> To: <address@hidden>
> References: <address@hidden>
> 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

reply via email to

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