[cvsnt] Prob with CVSROOT/loginfo on 2.5.02

Georg Offner der.georg12 at 2k5.temporarily.de
Mon Nov 14 13:12:34 GMT 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


When I upgraded, neither script, nor location of script nor loginfo was 
changed.
More general it looks as if any reference to a path and file respectively in 
logfile brings up this error.
So I think that it might be a problem of parsing loginfo, as Brian also 
said.

@Brian: please repost your script.

Thanks,
 Georg

>I had this same problem a while back and it wasn't that the script couldn't
> be found, it was that the line in loginfo wasn't being parsed properly. I
> can't say for certain which part of the default script gets parsed
> incorrectly (seems to be something to do with the redirections or
> semicolons, but I'm not sure exactly).
>
> My fix was to make a loginfo script like this:
>
> fixloginfo.pl %{sVv},$CVSROOT,$USER
>
> and then split @ARGV on commas in the perl script (using %s %V %v fails in
> some test cases, notably adding folders). I then do an if statement to
> determine if a folder was added or if a file was modified, construct an
> appropriate message, and send it off to syslog (probably better than
> commitlog). The code for all this was posted here about a month ago and
> should be in the archives, but I can post it again if anybody needs it...
>
> Brian

> Georg Offner wrote:
>> Hi all,
>>
>> I've just updated from 2.0.58d to 2.5.02 Build 2115 on Suse Linux 9.2.
>>
>> Everything appearently works fine, but the CVSROOT/loginfo functionality
>> seems to be broken. Whatever expression or script I put into loginfo file
>
>> (e.g. DEFAULT (echo ""; id; echo %s; date; cat) >>
>> $CVSROOT/CVSROOT/commitlog, which was the standard example before (why
> has
>> it disappeared?)), after an otherwise successful commit it says at the
>
> It disappeared because it was useless... didn't even work on most
> platforms.
>
>> client (WinCVS 2.0.2.4): Exec failed: No such file or directory.
>>
> I'd guess the script you're trying to run can't be found.
>
> Tony





More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook