info-cvs
[Top][All Lists]
Advanced

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

Re: trouble commiting administrative files (CVSROOT)


From: Larry Jones
Subject: Re: trouble commiting administrative files (CVSROOT)
Date: Sat, 5 Oct 2002 00:47:22 -0400 (EDT)

Nils Jakobsons writes:
> 
> When I commit rev 1.6 it still writes success entry into history file, it
> even does write new revision (rev 1.6) into CVSROOT/loginfo,v file, and it
> performs the script I added (/var/cvs/utils/loginput.sh %s), but the
> effective config file CVSROOT/loginfo is not updated to latest rev 1.6 and
> remains at 1.5! Whats the matter?
[...]
> Here is the content of the /var/cvs/utils/loginput.sh which is called from
> CVSROOT/loginfo - its a simplest shellscript:
> 
> #!/bin/sh
> echo $* >> /tmp/loginput_output.txt

A loginfo script *must* read the log message from stdin.  If you're not
interested in saving it, you need to disguard it:

        cat >/dev/null

You can get the actual loginfo file updated to 1.6 by running "cvs
init".

-Larry Jones

Everything's gotta have rules, rules, rules! -- Calvin




reply via email to

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