[Top][All Lists]

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

Problems restoring a file

From: Adam Cohen
Subject: Problems restoring a file
Date: Fri, 01 Nov 2002 09:55:03 +0000

I'm having trouble resurrecting a file that was removed. I've read section 7.2 of the cederqvist manual, but it doesn't solve my problem. The problem is that after removing the file and committing the change, I try to ressurrect it by typing "cvs add oldballs" (oldballs is the name of the file), which gives me the following message:

cvs add: re-adding file oldballs (in place of dead revision 1.3)
cvs add: use 'cvs commit' to add this file permanently

Which looks like it worked, but when I type "cvs commit", I get the following error:

cvs commit: Examining .
cvs commit: Up-to-date check failed for `oldballs'
cvs [commit aborted]: correct above errors first!

I can't figure out what I'm doing wrong. I've searched the archives, and it seems as though I'm using the correct procedure, but it doesn't work.. After searching the web, I came up with the following solution which _does_ work, but I don't think it's the correct way:

cvs update -j1.3 -j1.2 oldballs

when "running cvs status -v oldballs", I get the following output:

File: no file oldballs          Status: Up-to-date

  Working revision:    No entry for oldballs
  Repository revision: 1.3     /src/master/cscc09/ass3/Attic/oldballs,v

  Existing Tags:
       No Tags Exist

So if anyone can tell me why the "add" command doesn't work, I would greatly appreciate it. Thanks,


Surf the Web without missing calls! Get MSN Broadband.

reply via email to

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