info-cvs
[Top][All Lists]
Advanced

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

RE: Restoring Dead Files


From: Res Pons
Subject: RE: Restoring Dead Files
Date: Wed, 9 Jul 2008 15:15:56 -0700


Hi
 
A file having its extension in capital letters, image_cust1.JPG, was accidentally deleted by a user, instead of, being renamed to image_cust1.cap.
 
I am the CVS Admin and have direct ssh access to the linux Repository server and our users including myself, use WinCVS and Windows commandline to access CVS.
 
I CD'd to the subfolder where the file was deleted and ran the following commands from a DOS prompt
(in the first command, should the file before (greaterThanSign) > be image_cust1.JPG or .jpg or does it matter?)

C:\MyCVS\images>cvs -Q update -p -r 1.1 image_cust1.JPG > image_cust1.jpg
 
C:\MyCVS\images>cvs add -kb image_cust1.jpg
cvs server: image_cust1.jpg has already been entered
 
C:\MyCVS\images>cvs ci -m "revived jpg image" image_cust1.jpg
cvs server: cannot add file `image_cust1.jpg' when RCS file `/repo/images/image_cust1.jpg,v' already exists
cvs [server aborted]: correct above errors first!
 
C:\MyCVS\images>cvs update
cvs server: Updating .
A image_cust1.jpg
 
C:\MyCVS\images>
 
 
As you can see, when I do an update, I see the file pending with an add status but committing it will cause an error.  Any ideas or help please.  Thanks


It’s a talkathon – but it’s not just talk. Check out the i’m Talkathon.

reply via email to

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