info-cvs
[Top][All Lists]
Advanced

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

cvsignore


From: Greg Sidelinger
Subject: cvsignore
Date: Thu, 6 Apr 2006 11:41:43 -0400 (EDT)
User-agent: SquirrelMail/1.4.5

Is there a good way to tell the CVS server to never add some directories
to the repository?  I have a few dirs that get created during the build
process and should never be committed back but some devs with their IDEs
can't seem to pay attention to what they do.  I looked into cvsignore but
I was still able to add the dirs and files if I actually did a cvs add.

I also looked into adding the dirs to CVSROOT/commitinfo scripts and have
them return false but that causes the entire commit to fail if someone
tries to add the directories.  I'm looking for a good way to softly reject
just some directories but allow the rest of the commit to go through. The
other possibility that I could think of was to create dirs in the
repository but just remove all write access to they can never be updated
which does allow the rest of the commit to go though but I'm not a fan of
this route. I’m personally a fan the commitinfo approach and just
rejecting the entire commit but some of the developers don’t like this
approach.

So is there some clever way of softly rejecting come parts of a commit
that I have over looked.

Greg






reply via email to

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