[cvsnt] Re: How do I find the branch name during a tag, rtag or commit

Tony Hoyle tmh at nodomain.org
Thu Mar 20 19:58:20 GMT 2003


Jeffrey S. Nelson wrote:

> Does the branch name get passed into the following scripts.
> 
> Taginfo
> VerifyMsg
> Commitinfo
> 
> If not, then how can I get the name of the branch that is being updated or
> tagged.

Branches aren't tagged... versions are - cvs doesn't really care about
branches in that case.  In the commit case the branch info is sent via
loginfo as part of its standard input - what is generally done is store up
all the branches that are being committed by the loginfo calls, then when
commitinfo is called pick up this data - see the commit_prep.pl and
log_accum.pl scripts for an example.

AFAIK no version information is passed to verifymsg at all.. it's a known
deficiency that probably needs fixing.

Tony




More information about the cvsnt mailing list