[cvsnt] Patch that allows passing branch data to the commitinfo, verifymsg, etc.

Chirino, Hiram Hiram.Chirino at commercequest.com
Tue Sep 10 16:59:17 BST 2002


Hi,

I'm interested in knowing what branch the user is working on when he does a commit so that I create a commitinfo script that can "lock-down" write access to some branches.

The easiest way I could get this functionality was to set a "CVS_BRANCH" environment variable during the commit so that commitinfo script could inspect that variable.

Attached is the patch that implements this.  I hope it gets into the main line.

Regards,
Hiram

-------------- next part --------------
A non-text attachment was scrubbed...
Name: set-CVS_BRANCH-env-for-commit-info-scripts.patch
Type: application/octet-stream
Size: 1053 bytes
Desc: set-CVS_BRANCH-env-for-commit-info-scripts.patch
Url : http://www.cvsnt.org/pipermail/cvsnt/attachments/20020910/9e8b575d/attachment.obj 


More information about the cvsnt mailing list