info-cvs
[Top][All Lists]
Advanced

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

RE: Stuck with commitinfo while setting up CVSspam


From: Shah, Kunal
Subject: RE: Stuck with commitinfo while setting up CVSspam
Date: Thu, 23 Apr 2009 17:35:52 -0700

Thanks Todd.

That was helpful.  I was able to modify commitinfo.


Kunal


-----Original Message-----
From: Todd Denniston [mailto:address@hidden 
Sent: Thursday, April 23, 2009 3:29 PM
To: Shah, Kunal
Cc: address@hidden
Subject: Re: Stuck with commitinfo while setting up CVSspam

Shah, Kunal wrote, On 04/22/2009 07:05 PM:
> Hello,
> 
> Need help !
> 
> I have been trying to install CVSspam for our project and stuck in checking 
> in commitinfo file.
> 
> Below are the lines that I added in commitinfo file.
> 
> ---------------------------------------------------------------------------------------
> ^cobra $CVSROOT/CVSROOT/record_lastdir.rb
> 
> # always allow commits to CVSROOT
> ^CVSROOT /bin/cat>/dev/null
> 
> # Invoke CVSspam lastdir script,
> DEFAULT ...
> ---------------------------------------------------------------------------------------
> 
> 
> Error that I get while checking in commitinfo file.
> 
> ---------------------------------------------------------------------------------------
> cvs commit: cannot find pre-commit filter `/bin/cat>/dev/null': No such file 
> or directory
> cvs commit: Pre-commit check failed
> ---------------------------------------------------------------------------------------
> 

`cvs -ver` reports what?
which OS and distribution is your server on?
I think you need a space or two, like:
^CVSROOT /bin/cat >/dev/null
or
^CVSROOT /bin/cat > /dev/null

BTW after you fix that ... not sure if cat will return at all considering that 
it is not going to get any user input nor file input.
was this line for other than testing?
I would suggest /bin/true and /bin/false.

> Now I'm not able to make any changes in commitinfo and probably in CVSROOT 
> directory.
> 

One of those rare instances where you actually have to use vi IN the repository.
i.e. you have to vi the commitinfo IN the repository.
and then from your checked out CVSROOT commit the same thing back in.


> Appreciate your help on this.
> 
> 
> Thanks,
> 
> Kunal
> 
> 



-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter




reply via email to

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