info-cvs
[Top][All Lists]
Advanced

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

Re: problem w/ commitinfo file


From: Derek R. Price
Subject: Re: problem w/ commitinfo file
Date: Tue, 07 Nov 2000 12:38:28 -0500

address@hidden wrote:

> /var/cvs/CVSROOT/commitinfo
>
> contains;
>
> ^db.*         /usr/local/cbs/mungeit.sh
>
> what i want is to munch any commited file begining w/ db
>
> how this does not happen.  ideas on where i am going wrong???

Commitinfo matches against the _path_ and _doesn't include the
filename_.  So, your ^db.* would match any _path_ relative to the
repository root beginning with 'db' and could care less about the name
of any particular file.

The commitinfo script does recieve a list of the files being committed
so you could do the checking there.

If you're doing what I think you're doing, only bothering to update the
serial during a 'make install' might be as useful and less troublesome
to implement.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
136. Old programmers never die; they just give up their resources.






reply via email to

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