How to checkout an older revision of an individual file?

184 Views Asked by At

I need to see what a file looks like then it was in revision X, but cvs checkout only accept a whole module as parameter, I don't want to check out the whole module in certain revision, because the whole project is rather big, how can I checkout individual files of a certain revision?

1

There are 1 best solutions below

1
On BEST ANSWER

You can specify a filename and a revision to checkout like this:

cvs co -r rev filename

For example:

cvs co -r 1.4.30.1 a/very/large/project/MyFile.h