Jean Zalog writes:
>
> I am using Version 1.10 CVS on a Unix network, and set up a new CVS
> Repository called /usr/adac/Repository/newproj. I modified some of the
> files created in the top level CVSROOT directory, and commited them
> successfully. When I tried to add new files to the CVSROOT directory, and
> then do a cvs commit, I get the following error message:
>
> cvs commit: cannot find pre-commit filter
> `/usr/adac/Repository/newproj/CVSROOT/checkusers.sh': No such file or
> directory
> cvs commit: Pre-commit check failed
> cvs [commit aborted]: correct above errors first!
>
> This error message appears whenever I try to commit any file in this
> Repository. The /`/usr/adac/Repository/newproj/CVSROOT/checkusers.sh file
> does not exist in the Repository, because it will not let me commit it after
> I do an add.
When you've painted yourself into a corner, the only way out is by
getting messy. The easiest way to fix this is to manually copy your
checkusers.sh script into the repository -- then you can commit it the
right way. The other alternative is to edit the commitinfo file in the
repository to remove the reference to it.
In the future, be sure that any scripts or progams you're going to use
in an administrative file exist and are executable *before* you commit
the administrative file. :-)
-Larry Jones
Like I'm going to get any sleep NOW. -- Calvin