How do I revert a modified file using CVS?

cvs, revert

Solution

You use

cvs update -C filename

Problem

I have checked out a file from CVS repository and changed it. `cvs up` command says that the file is modified `M`. I need to delete my changes. What cvs command can do it for me?

Original source