[Top][All Lists]

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

Re: Needs CVS email notification help !

From: Larry Jones
Subject: Re: Needs CVS email notification help !
Date: Tue, 4 Apr 2006 15:53:28 -0400 (EDT)

address@hidden writes:
> Thus to me in loginfo its look for module. Since projects is a module
> and projects/drivers is not, thus if I turn it around like:
> "projects/drivers some_other_script
> projects some_script" 
> then its would not work either.

Wrong.  Have you read the section of the manual on loginfo?


The first entry on the line is a regular expression that is matched
against the *directory* being committed (relative to $CVSROOT) --
nothing about modules.  The entries are tried in order and only the
first matching line is used (except for the special case of "ALL").  The
regular expression is not anchored, so it will match anywhere, not just
at the beginning.  Thus, the regular expression "projects" matches
"projects", "projects/drivers", and even "myprojectscripts".  If you
only want to match at the beginning, you need to explicitly say so in
your regular expression (e.g., "^projects").  If you only want to match
in a directory but not its subdirectories, you can also anchor at the
end (e.g., "^projects$").

-Larry Jones

I hope Mom and Dad didn't rent out my room. -- Calvin

reply via email to

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