info-cvs
[Top][All Lists]
Advanced

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

RE: How to restore Attic files in CVS - Permission Denied


From: Trinh, An
Subject: RE: How to restore Attic files in CVS - Permission Denied
Date: Sun, 5 Apr 2009 15:53:32 -0400

Larry, Peter, Jim,

Thank you for your help.  Larry, based upon your guidance the two steps
are straight forward.

$ cvs update -j 1.2 -j 1.1 file1
$ cvs commit -m test

However, when I ran the update command I'm getting Permission denied.

/usr/local/bin% cvs update -j 1.2 -j 1.1
/opt/prodcvs/eai/APRT/EA_APRT_LOAD.esql,v
permission denied
cvs [update aborted]: end of file from server (consult above messages if
any)
 
I'm using csh and the CVSROOT is set to:
CVSROOT=:ext:address@hidden:/opt/prodcvs

I've never executed any cvs command from the shell before since we use
cvs through the GUI interface with this connection
:extssh:address@hidden:/opt/prodcvs.  I also tried putting in the same
connection that I connected with the GUI
:extssh:address@hidden:/opt/prodcvs and I'm getting this error.

/usr/local/bin% cvs update -j 1.2 -j 1.1
/opt/prodcvs/eai/APRT/EA_APRT_LOAD.esql,v
cvs update: Unknown method (`extssh') in CVSROOT.
cvs [update aborted]: Bad CVSROOT: `:extssh:address@hidden:/opt/prodcvs'.

Please advise and thank you for your help.

Thanks,
An.

-----Original Message-----
From: Larry Jones [mailto:address@hidden 
Sent: Sunday, April 05, 2009 2:53 PM
To: Peter Toft
Cc: Jim Hyslop; Trinh, An; address@hidden
Subject: Re: How to restore Attic files in CVS

Peter Toft writes:
> 
> On Sun, 5 Apr 2009, Jim Hyslop wrote:
> >
> > Someone has 'cvs remove'd the files. Just restore them with 'cvs
add'.
> 
> cvs log <file>
> Find til newest non-dead version
> cvs update -r <last-version> <file>
> mv <file> foo
> cvs update -A <file>
> mv foo <file>
> cvs add <file>
> cvs commit -m "bring out your dead, bring out your dead" <file>

Neither of those suggestions is very good -- the first doesn't work at
all and the second is more complex than necessary and subject to error. 
Please see the manual for the correct method:

        <http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_5.html#SEC62>
--
Larry Jones

He's just jealous because I accomplish so much more than he does. --
Calvin


CONFIDENTIALITY NOTICE: This E-Mail is intended only for the use of the 
individual or entity to which it is addressed and may contain information that 
is privileged, confidential and exempt from disclosure under applicable law. If 
you have received this communication in error, please do not distribute and 
delete the original message.  Please notify the sender by E-Mail at the address 
shown. Thank you for your compliance.





reply via email to

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