On Tue, Feb 27, 2001 at 07:58:02AM -0800, [EMAIL PROTECTED] wrote:
> cvs tag $TAG
> echo "Tree tagged with $TAG" | sendmail -s "httpd-2.0 tagged" \
>       [EMAIL PROTECTED]

The idea, I think, was to send this info to the CVS subscribers
(too), because they can tag their in-sync-copy at that point
(almost) automatically.

But why not use the "taginfo" hook for this purpose? The taginfo file
reads:

# The "taginfo" file is used to control pre-tag checks.
# The filter on the right is invoked with the following arguments:
#
# $1 -- tagname
# $2 -- operation "add" for tag, "mov" for tag -F, and "del" for tag -d
# $3 -- repository
# $4->  file revision [file revision ...]
#
# A non-zero exit of the filter program will cause the tag to be aborted.
#
# The first entry on a line is a regular expression which is tested
# against the directory that the change is being committed to, relative
# to the $CVSROOT.  For the first match that is found, then the remainder
# of the line is the name of the filter to run. [...]

That would be a place to add a "About to tag...." mailer script!

   Martin
-- 
<[EMAIL PROTECTED]>    |       Fujitsu Siemens
       <[EMAIL PROTECTED]>              |   81730  Munich,  Germany

Reply via email to