Benjamin Kosnik <[EMAIL PROTECTED]> writes: > > Could we modify the CVS commit filters to *require* the right > > versions? If it detects a commit with the wrong version (at least, > > assuming the old rev had the right version), it can just reject it. > > Dunno if this is possible, but this would be great.
This is possible--the file to modify is CVSROOT/commitinfo, to run some script for a specific set of files. It would be nice if > there was a way to set different versions per branch. For instance, the > gcc-4_0-branch, gcc-3_4-branch, and mainline might have different > autotools requirements. I'm not sure this is available. It might be possible to look in CVS/Tag to find the branch tag for the file. I don't know whether that file is certain to exist when commitinfo is run, but it seems that it might. Ian