[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Problem with e-mail notification
From: |
TTaylor |
Subject: |
RE: Problem with e-mail notification |
Date: |
Wed, 25 Apr 2001 12:13:48 -0400 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> > My understanding is that when you commit each folder is committed
> > individually. So when you commit something which covers
> dirs, sub1 and
> > sub2, it actually gets run as 3 separate commits.
> >
>
> Yes, this is what I understood and what I obtained. But, is
> there any way
> of reporting only when one specific directory (and not their
> subdirectories) is commited?
Take a look at the commit_prep.pl and log_accum.pl scripts that are
in the CVS distributions contrib directory.
By adding an entry similar to the following to the commitinfo file:
ALL commit_prep.pl -r
and the following to the loginfo file:
DEFAULT log_accum.pl -u $USER -s -m email_addr %{sv}
You will get a single email per checkin even if the checkin spans
multiple directories. Note that if you want this to be done for a
particular module or directory rather than the entire repository,
replace ALL and DEFAULT in the lines above with the appropriate
regular expression.
- - Tim
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
iQA/AwUBOub3sn0GulZt1ukUEQIV9QCg6p2FxK2uK1yKvskrJztHa1vvPRsAoOFc
Z696STxEHFk/T5wHcJ/oMFUb
=5nNA
-----END PGP SIGNATURE-----