[Top][All Lists]

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

Re: Block a file by Commitinfo?

From: Paul Sander
Subject: Re: Block a file by Commitinfo?
Date: Wed, 15 Jul 2009 00:21:53 -0700

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.



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

reply via email to

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