Cvs Remove Attic
These files may be associated with old tags that should be removed moved or renamed.
Cvs remove attic. The cvs remove command is used to mark a file as removed in the repository. It simply is stored in a special directory called attic so that its earlier revisions can be recalled. Cvs remove options files. Type d name attic exec ls 1 you can also list the files with the cvs log command.
Log r both of these will list the names of the rcs files used to store the file. A dead state means that file has been removed or. 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. Cvs remove does not actually remove the files from the repository.
Cvs rtag d rel 0 4 tc deletes the tag rel 0 4 from the module tc. It only removes them from the current list and puts the files in the cvs attic. Note that cvs uses the dead state for its own purposes see node attic aq in the cvs manual. When we say move a tag we mean to make the same name point to different revisions.
I have no interest on keeping my attic for that directory at all and i want to do this through cvs commands if possible. When another person checks out the module in the future they will not get the files that were removed. 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. Schedule file s to be removed from the repository files which have not already been removed from the working directory are not processed.
There is only the attic directory at the very end of the tree holding the deleted files in the format filename v. If you have access to the repository you can find all files in the attic with find. How can i do to make a politically correct removal of the whole thing. Cvs keeps track of this and looks in the attic when it needs to.
This command does not actually remove the file from the repository until you commit the removal. Try a command like. The directories remain there. To delete a tag specify the d option to either cvs tag or cvs rtag.
Remove the v at the end of the file to get the file name you want. T file useful with cvs. To take a file to or from the dead state use commands like cvs remove and cvs add see node adding and removing aq in the cvs manual not cvs admin s.