[Top][All Lists]

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

Re: Retrieving dead files from the Attic

From: Jim Hyslop
Subject: Re: Retrieving dead files from the Attic
Date: Thu, 26 May 2005 10:09:18 -0400
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

S I wrote:
Here's another question I have on the same topic:

If a file is removed from CVS properly (by rm, cvs rm, cvs ci), what gets committed to the Attic exactly? Both the file and its sister comapnion file,v or just the latter?

The original file is never copied into the repository. When you 'cvs remove' a file, CVS adds a new revision to the ,v file, with the state "dead", and the file is moved into the Attic.

I still have not managed to retrieve my lost files from the Attic, executing the 3 commands I listed. They simply don't work and retrieve new files with zero or empty cotent. Help!

Keep in mind that just because a file is in the Attic does not mean it is completely dead. It only means that the *trunk* is dead.

Unless the file was explicitly checked into the Attic directory (which is unlikely, because the developer really has to go through hoops to do that) then everything can be done from your client.

What does a 'cvs log' show for one of the files? (You can trim the log messages themselves, but please keep intact the header and the revision state info, e.g.:

RCS file: /cvs_repository/conversations/factory/save.txt,v
Working file: save.txt
head: 1.1
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;     selected revisions: 1
revision 1.1
date: 2003/03/09 16:26:19;  author: Jim;  state: Exp;
[log message trimmed]


reply via email to

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