A dead state means that file has been removed or.
Cvs put files in attic.
Actually the merge from branch to trunk will automatically add the.
Review request 555 created sept.
So good so intelligent.
These files are marked dead but they are not in the attic.
Log r both of these will list the names of the rcs files used to store the file.
17 2008 and discarded.
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.
If you have access to the repository you can find all files in the attic with find.
When you cvs rm a file it gets marked dead and moved into the attic.
I don t know how these files got into this state unless someone manually moved them out of the attic.
This means that you shouldn t use directories named attic in your projects.
The simplest method i ve found so far is to run cvs status file txt to find out the revision number.
Type d name attic exec ls 1 you can also list the files with the cvs log command.
Then the cvs get this file back from this hidden folder.
Try a command like.
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.
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.
Here s the relevant section from attic foo jpg v.
These files may be associated with old tags that should be removed moved or renamed.
Not so intelligent is that cvs has no really folder managment.
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.
Remove the v at the end of the file to get the file.
Then grab the contents of the revision and add it back in.
Cvs update p r rev file txt file txt cvs add file txt cvs commit.
It should not matter from a user point of view whether a file is in the attic.
Instead the file gets put in the attic literally.
Cvs doesn t merely move the rcs file into attic however.
If you remove a file y from folder x file y is put in attic folder of x.
Cvs keeps track of this and looks in the attic when it needs to.