At least in pserver access it is and I think it is also available in for local repository access as well. I am not sure about :ext: access though.
I agree that its contents and its structure is entirely internal to CVS and may change without notice from one CVS release to another. I do not write anything into CVS/Entries at all - I use it to read the branch name of the file that is being committed. So that way there is very little danger of corrupting that file. Of course I make assumptions about the structure of the file and that may change from one CVS release to another - I am ready to change the regex I use to grep the branch name when that happens. The advantages I get from controlling access to branches through commitinfo script outweighs the risk in my case. Thanks Shubho -----Original Message----- From: Greg A. Woods <[EMAIL PROTECTED]> To: CVS-II Discussion Mailing List <[EMAIL PROTECTED]> Date: Thursday, October 11, 2001 10:47 AM Subject: Re: How to lock CVS for check-in >[ On Thursday, October 11, 2001 at 08:24:11 (+0530), Shubhabrata Sengupta wrote: ] >> Subject: Re: How to lock CVS for check-in >> >> Wondering why this enhancement is needed in the commitinfo interface when >> you can always get the branch information out of the CVS/Entries file which >> is always available to the commitinfo script. > >I'm not sure the CVS/Entries file is always available, and in any case >accessing it directly is a very very very bad hack. Its contents should >be private and for CVS internal use only. The fact that some of its >structure is documented in the manual is not permission to go mucking >about in it unless you're cleaning up some form of corruption or another. > >-- > Greg A. Woods > >+1 416 218-0098 VE3TCP <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> >Planix, Inc. <[EMAIL PROTECTED]>; Secrets of the Weird <[EMAIL PROTECTED]> > >_______________________________________________ >Info-cvs mailing list >[EMAIL PROTECTED] >http://mail.gnu.org/mailman/listinfo/info-cvs > _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
