It is described in the manual under "cvs checkout" and other places. You need to know the date or revision number of the file revision you wish to retrieve. Try something like: cvs checkout -r 1.13 file.c # retrieve revision 1.13 of the file cvs checkout -D "2000-02-28 14:28" file.c # retrieve the file as of Feb 28, 2000 14:28 UTC If you wish to overwrite your changes, do this: cvs checkout file.c # get newest (unwanted version) cvs checkout -p -r 1.13 file.c > tmp.c # get older, wanted revision and put in tmp.c mv tmp.c file.c # overwrite unwanted changes cvs commit -m "reverted to previous version" file.c # check in previous version as newest revision Good luck! Alan Thompson Steele Kennett <[EMAIL PROTECTED]> on 03/09/2000 01:16:34 PM To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: (bcc: Alan Thompson/Orincon) Subject: roll back a single file I had a working file in the repository. The client said that he wanted it to look a totally different way. So i changed it and then committed it again. Now the client says he liked it the way it was before! How do i get that file back? please help. Steele
I had a working file
in the repository. The client said that he wanted it to look a totally different
way. So i changed it and then committed it again. Now the client says he liked
it the way it was before! How do i get that file back?
please
help.
Steele
