When writing that program, keep in mind that cvs will automatically pass the
module name as the argument. In your modules file, you can have an entry like
this:
module1 -o program dir/abc
Note that there should not be any argument specified for the program inside
the modules file. The module name is passed behind the scene.
"Reinstein, Shlomo" wrote:
I have never used it, but according to the CVS manual by Per Cederqvist
(page 127, C.1.5. Module options), you can add an option ('-o prog') in the
'modules' file in the repository which will specify a program to run
whenever files in a module are checked out. The program runs with a single
argument, the module name. So, try to specify a program there which will
send the email notification.
Shlomo
-Original Message-
From: Stuart Carter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 09, 2000 1:31 PM
To: [EMAIL PROTECTED]
Subject: Email notification of checkout...
Apologies if this is a silly question, but I've just taken over
the CVS repository, and now my boss wants email notification of
check-outs (by lunch-time!)...
Is there any easy way to do this? I have looked into the history
command which displays them, but doesn't email. I've also looked
into the email notification system (watch) and it doesn't seem
to notify of checkouts, just edit/unedit and commit.
Am I missing something?
Thanks in anticipation,
Stu