Re: Block a file by Commitinfo?

Paul Sander <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Your commitinfo script is given a list of paths to files about to be  
committed.  Check each file in that list against your naming  
conventions.  Exit with a non-zero status if any of them fail to meet  
your requirements.

This will cause the entire commit to fail, and the user will have rm  
their additions before the commit will succeed.

It would be better if CVS had an addinfo capability, though...

On Jul 14, 2009, at 9:40 PM, Rez P wrote:

> Hello everyone
>
> Is there any way to prevent users or developers from uploading and  
> checking in certain files into cvs?  I was reading the somewhat  
> ambiguous examples on ximbiot and doesn't look I could do this.  I  
> would like to block Windows thumbs.db and desktop.ini files from  
> uploading to the server.
>
> Thanks
>
> Rez
>
> Hotmail® has ever-growing storage! Don’t worry about storage limits.  
> Check it out.

--
The cool thing about definitions is that they can be anything you  
want, by definition!
Paul Sander
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.