[Top][All Lists]

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

Re: commitinfo stopped working!

From: Mark D. Baushke
Subject: Re: commitinfo stopped working!
Date: Mon, 27 Oct 2003 12:56:21 -0800

Hash: SHA1

Tom Marsh <address@hidden> writes:

> Dear info-cvs:
> Help!
> We're running cvs on HPUX, and built a good sized set of rules for 
> directories in commitinfo. All our developer connections come in 
> through pserver.
> commitinfo is something like this:
> CVSROOT     /usr/cvs/stuff/CVSROOT/
> XXBLAH.*/install /usr/cvs/stuff/CVSROOT/
> XXBLAH.*/reports /usr/cvs/stuff/CVSROOT/
> DEFAULT     /usr/cvs/stuff/CVSROOT/
> We want to control the names of directories that get created. All of a 
> sudden, it seems like commitinfo is getting ignored, as we're getting 
> names of directories not specifically allowed by our commitinfo!
> Does anyone have any ideas?

At present 'mkdir new-directory && cvs add new-directory' does not
go thru the commitinfo code path. Instead, it creates the directory
and then calls the loginfo trigger. The same basic thing happens if
someone does a 'cvs import new-directory vendor version' in that the
commitinfo script is not called.

A possible work around to your problem might be to have the loginfo
trigger remove the offending directory in the repository and issue an
error message.

There are also some patches from "Ralf S. Engelschall" that may already
do what you want (he has a number of very useful extensions for
importinfo too). They may be obtained via

We are looking to incorporate some of these changes into the cvs TRUNK
eventually, but none of them made it into the just release cvs 1.12.2

        Good luck,
        -- Mark
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

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