Just delete the file. CVS will notice that it is missing and fetch a
fresh copy from the repository.
The other option is to "cvs edit" the file, then "cvs unedit" when you
are done with it. Both of these are available in the WinCVS interface.
The "cvs edit" saves a copy of the file. The "cvs unedit" will prompt
you to see if you want to overwrite the modified file. In the situation
that you are asking about, you would just answer yes.
Shane
"Dimitrie O. Paun" wrote:
>
> Hi,
>
> Very often I run in this problem: I edit some files to add debugging stuff,
> and after a while I want to updated from CVS and to simply _overwrite_ the
> changes I made.
>
> I know, I can delete the files and then update. But, this is difficult
> 'cause sometimes I don't know what I've modified (and the files are
> scattered in hundreds of directories). Questions:
>
> 1) can I do this in one shot?
> 2) can I do it on the command line?
> 3) can I do it in WinCVS?
>
> TIA,
> Dimi.