Domanda

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?

È stato utile?

Soluzione

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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top