info-cvs
[Top][All Lists]
Advanced

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

trouble commiting administrative files (CVSROOT)


From: Nils Jakobsons
Subject: trouble commiting administrative files (CVSROOT)
Date: Sat, 5 Oct 2002 04:54:58 +0300

Hello,
I have cvs server on linux:

[lunar]$ cvs -v
Concurrent Versions System (CVS) 1.10.8 (client/server)

I did checkout of CVSROOT, changed loginfo file (added a line which calls
external script : DEFAULT /var/cvs/utils/loginput.sh %s), commited with
success (rev 1.5). Now I can not make any subsequent changes to
CVSROOT/loginfo, it gives me following error:

[lunar]$ cvs -d /var/cvs/repository commit CVSROOT
Checking in CVSROOT/loginfo;
/var/cvs/repository/CVSROOT/loginfo,v  <--  loginfo
new revision: 1.6; previous revision: 1.5
done
cvs [commit aborted]: received broken pipe signal

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? Maybe the effective file "loginfo" is
locked during the execution of my custom script when the commit is
performed? I mean, the commit actually tries to overwrite CVSROOT/loginfo
which already performs the call of my custom script. The administrative file
update feature seems to not work in this case? Of course I can go and change
loginfo directly but still... I'm a bit puzzled.
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

Please tell me what I do wrong. RTFM advices are welcome,
-Nils







reply via email to

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