Вопрос

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?

Это было полезно?

Решение

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
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top