Re: Readding deleted files
Cristian Gheorghe writes: > > I have removed a file (cvs rm command) which now needs to go back into > the project with the same name and in the same directory. The file > which was removed is now in the repository Attic directory. What > command can I use to be able to "reactivate" the file? Do you want to recover the old contents, or just create a brand new file with the same name? If you want to recover the old contents, use update with two -j options to undo the remove. For example, if "cvs log" says the current revision of the file is 1.40 (with state "dead"), do: cvs up -j 1.40 -j 1.39 file If you want a brand new file with the same name, just "cvs add" it and CVS will more the RCS file out of the Attic when you commit it. -Larry Jones That's the problem with nature. Something's always stinging you or oozing mucus on you. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Readding deleted files
[EMAIL PROTECTED] (Larry Jones) wrote in message news:<[EMAIL PROTECTED]>... > Cristian Gheorghe writes: > > > > I have removed a file (cvs rm command) which now needs to go back into > > the project with the same name and in the same directory. The file > > which was removed is now in the repository Attic directory. What > > command can I use to be able to "reactivate" the file? > > Do you want to recover the old contents, or just create a brand new file > with the same name? If you want to recover the old contents, use update > with two -j options to undo the remove. For example, if "cvs log" says > the current revision of the file is 1.40 (with state "dead"), do: > > cvs up -j 1.40 -j 1.39 file > > If you want a brand new file with the same name, just "cvs add" it and > CVS will more the RCS file out of the Attic when you commit it. > > -Larry Jones > > That's the problem with nature. Something's always stinging you > or oozing mucus on you. -- Calvin Sorry for not specifying that. I wanted the file with the old contents. The file should not have being removed in the first place. The update with two 'j's worked. Thank you Larry. -Cristian ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs