Hiya!
I'm trying to capture the log message included with each commit, using a
filter specified in the loginfo file. I don't seem to be getting the log
message, though. I'm using this code:
my $log_msg;
my $infh = IO::File -> new('< -'); # open a filehandle to STDIN
for ($infh -> getline
"Grisinger, Daniel (MAN-Golden)" writes:
>
> my $log_msg;
> my $infh = IO::File -> new('< -'); # open a filehandle to STDIN
> for ($infh -> getlines) {
> $log_msg .= $_;
> }
I think you've confused info-cvs with a perl list.
-Larry Jones
I won't eat any cereal that doesn't turn the
Larry Jones <[EMAIL PROTECTED]> writes:
> "Grisinger, Daniel (MAN-Golden)" writes:
> >
> > my $log_msg;
> > my $infh = IO::File -> new('< -'); # open a filehandle to STDIN
> > for ($infh -> getlines) {
> > $log_msg .= $_;
> > }
>
> I think you've confused info-cvs with a perl list.
Larry Jones <[EMAIL PROTECTED]> writes:
> "Grisinger, Daniel (MAN-Golden)" writes:
> >
> > Larry Jones <[EMAIL PROTECTED]> writes:
> > >
> > > I think you've confused info-cvs with a perl list.
> >
> > Well, no, I haven't. The perl is correct, it simply reads
> from STDIN. The
> > problem is
"Grisinger, Daniel (MAN-Golden)" writes:
>
> Larry Jones <[EMAIL PROTECTED]> writes:
> >
> > I think you've confused info-cvs with a perl list.
>
> Well, no, I haven't. The perl is correct, it simply reads from STDIN. The
> problem is unquestionably a cvs issue. But since that's the attitude h
--- "Grisinger, Daniel (MAN-Golden)" <[EMAIL PROTECTED]> wrote:
> Larry Jones <[EMAIL PROTECTED]> writes:
> > What is the exact content of your $CVSROOT/CVSROOT/loginfo file?
>
> DEFAULT (/home/cvsuser/cvs-scripts/cvs-mail-checkin-notifications %{sVv} >>
> /home/cvsuser/cvslogs/commit-mailer.log
On Tue, 11 Mar 2003 [EMAIL PROTECTED] wrote:
> On Tue, 11 Mar 2003 [EMAIL PROTECTED] wrote:
>
>> What is the exact content of your $CVSROOT/CVSROOT/loginfo file?
>
> DEFAULT (/home/cvsuser/cvs-scripts/cvs-mail-checkin-notifications %{sVv} >>
> /home/cvsuser/cvslogs/commit-mailer.log 2>&1)&
I bel
Hi!
What are you trying to do? Are you wanting to send the log message written
when commiting files to CVS, to the various developers concerned?
Well! Then won't it be simpler to use the following, in the loginfo file in
$CVSROOT/CVSROOT folder:
DEFAULT (id; echo %{sVv}; date; cat) | mail [EMAIL
'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: loginfo log messages
>
>
> Larry Jones <[EMAIL PROTECTED]> writes:
>
> > "Grisinger, Daniel (MAN-Golden)" writes:
> > >
> > > Larry Jones <[EMAIL PROTECTED]> writes:
> >
Dan Peterson writes:
> On Tue, 11 Mar 2003 [EMAIL PROTECTED] wrote:
>
> > On Tue, 11 Mar 2003 [EMAIL PROTECTED] wrote:
> >
> >> What is the exact content of your $CVSROOT/CVSROOT/loginfo file?
> >
> > DEFAULT
> (/home/cvsuser/cvs-scripts/cvs-mail-checkin-notifications
> %{sVv} >> /home/cvsuser/
10 matches
Mail list logo