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:c62i...@boc01:/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:c62i...@boc01:/opt/prodcvs. I also tried putting in the same connection that I connected with the GUI :extssh:c62i...@boc01:/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:c62i...@boc01:/opt/prodcvs'. Please advise and thank you for your help. Thanks, An. -----Original Message----- From: Larry Jones [mailto:[email protected]] Sent: Sunday, April 05, 2009 2:53 PM To: Peter Toft Cc: Jim Hyslop; Trinh, An; [email protected] 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.
