[Top][All Lists]

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

Re: notify

From: ar2kcm
Subject: Re: notify
Date: Fri, 12 Oct 2001 12:07:08 -0600

The entire loginfo file should look like the following:

# The "loginfo" file controls where "cvs commit" log information
# is sent.  The first entry on a line is a regular expression which must
# the directory that the change is being made to, relative to the
# $CVSROOT.  If a match is found, then the remainder of the line is a filter
# program that should expect log information on its standard input.
# If the repository name does not match any of the regular expressions in
# file, the "DEFAULT" line is used, if it is specified.
# If the name ALL appears as a regular expression it is always used
# in addition to the first matching regex or DEFAULT.
# You may specify a format string as part of the
# filter.  The string is composed of a `%' followed
# by a single format character, or followed by a set of format
# characters surrounded by `{' and `}' as separators.  The format
# characters are:
#   s = file name
#   V = old version number (pre-checkin)
#   v = new version number (post-checkin)
# For example:
#DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog

ALL (echo ""; id; echo %{sVv}; date; cat) | mailx -s "Src Modifications"

DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog

Hope this helps,

----- Original Message -----
From: Postek, Jeffery
To: 'ar2kcm'
Sent: Friday, October 12, 2001 11:20 AM
Subject: RE: notify

I'm still having problems making this work. Here are the errors I'm

sh: syntax error at line 1: `echo' unexpected
cvs commit: syntax error at line 21 file loginfo; ignored
sh: syntax error at line 1: `echo' unexpected

Check out the loginfo file from your $CVSROOT
Add the following information at the end of the file:

ALL (echo ""; id; echo %{sVv}; date; cat) | mailx -s "subject in email"

DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog

Please tell me how I configure the notify CVS admin file along with any
other files to send e-mail to myself or other development personnel in
the event of changing and commiting source files.


Info-cvs mailing list

reply via email to

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