[cvsnt] how to retrieve a deleted file ..

Bo Berglund bo.berglund at telia.com
Thu Mar 6 22:11:27 GMT 2003


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.


On Thu, 06 Mar 2003 20:53:28 +0000, Tony Hoyle <tmh at nodomain.org>
wrote:

>Tony Hoyle wrote:
>
>>> 
>> Just 'cvs add' it again.  cvs will resurrect it automatically.
>> 
>> I don't think there's a GUI for this but it's easy from the command line.
>> 
>OTOH it's not quite that easy...  I'll have to have a look to see if I can
>make it simpler, as I'm pretty sure it *should* be just a matter of
>re-adding it...
>
>Tony

I tried to check this too so I want into WinCvs to a test module I
have not touched in quite a while to cvs remove a file using the GUI.
Then when I committed the removal this was shown (lines wrapped by
newsreader):

'FourthFile.txt' has been moved successfully to the recycle bin...
cvs -z9 remove FourthFile.txt (in directory
F:\Engineering\Antares\PC\ModuleXX\)
cvs server: scheduling `FourthFile.txt' for removal
cvs server: use 'cvs commit' to remove this file permanently

***** CVS exited normally with code 0 *****

cvs -z9 commit -m "removal test" FourthFile.txt (in directory
F:\Engineering\Antares\PC\ModuleXX\)
cvs server: [23:04:13] waiting for bosse's lock in
C:/cvsrepo/pc/ModuleXX
cvs server: [23:04:28] waiting for bosse's lock in
C:/cvsrepo/pc/ModuleXX
cvs server: [23:04:43] waiting for bosse's lock in
C:/cvsrepo/pc/ModuleXX
cvs server: [23:04:58] waiting for bosse's lock in
C:/cvsrepo/pc/ModuleXX
cvs server: [23:05:13] waiting for bosse's lock in
C:/cvsrepo/pc/ModuleXX
cvs server: [23:05:28] waiting for bosse's lock in
C:/cvsrepo/pc/ModuleXX
cvs server: [23:05:43] waiting for bosse's lock in
C:/cvsrepo/pc/ModuleXX
cvs server: [23:05:58] waiting for bosse's lock in
C:/cvsrepo/pc/ModuleXX
cvs server: [23:06:13] obtained lock in C:/cvsrepo/pc/ModuleXX
cvs [commit aborted]: end of file from server (consult above messages
if any)

***** CVS exited normally with code 1 *****

I never saw suct behaviour before, what is going on here?
I have not put any locks anywere and it was a month or so since I did
anythin at all in this test module. ?????????????

So I checekd the version:
cvs ver

***** CVS exited normally with code 0 *****

Concurrent Versions System (CVSNT) 1.11.1.3 (Build 73) (client/server)
Client: Concurrent Versions System (CVSNT) 1.11.1.3 (Build 72)
(client/server)
Server: 

(Note that WinCvs puts the 'Server:' word last when it should have
been first....)


/Bo
(Bo Berglund, developer in Sweden)


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