17 2008 and discarded.
Cvs put files in attic.
The simplest method i ve found so far is to run cvs status file txt to find out the revision number.
Cvs keeps track of this and looks in the attic when it needs to.
It also commits a new revision into the file with a special revision state of dead.
Not so intelligent is that cvs has no really folder managment.
These files may be associated with old tags that should be removed moved or renamed.
When you cvs rm a file it gets marked dead and moved into the attic.
If you have access to the repository you can find all files in the attic with find.
But in case you want to know the rule is that the rcs file is stored in the attic if and only if the head revision on the trunk has state dead.
Here s the relevant section from attic foo jpg v.
I don t know how these files got into this state unless someone manually moved them out of the attic.
Instead the file gets put in the attic literally.
Then the cvs get this file back from this hidden folder.
There is no easy way to perform these tasks for files in the attic directory using cvs tag but cvs rtag provides the a option which applies d and f to tags in removed files i e in the attic from the appropriate module or directory.
Remove the v at the end of the file to get the file.
These files are marked dead but they are not in the attic.
If a file is added on a branch it doesn t exist on the trunk so the v file goes in the attic.
When you want to merge your work into the trunk you ll need to add those new files on the trunk after which the v file will be moved out of the attic.
Log r both of these will list the names of the rcs files used to store the file.
But because y is not cleared there is still y in hidden attic the folder x is still shown with a cvs entry also when it.
Cvs update p r rev file txt file txt cvs add file txt cvs commit.
Cvs doesn t merely move the rcs file into attic however.
Try a command like.
A dead state means that file has been removed or.
Type d name attic exec ls 1 you can also list the files with the cvs log command.
This means that you shouldn t use directories named attic in your projects.
Search for missing cvs files in the attic.
Actually the merge from branch to trunk will automatically add the.
Then grab the contents of the revision and add it back in.
So good so intelligent.