I'm trying to copy a sing开发者_运维知识库le file from CVS into a new project that I created, but when you right click on the file in CVS it doens't have the option to check the file out. If I right click on a folder in CVS however, I can check out an entire folder to my project. How can I copy just a single file?
The folder-level "Check Out" action establishes linkage between the content of a local folder and the repository. You can then work in connected mode with change tracking etc. CVS tracks this linkage at folder level. It doesn't support single-file linkage.
Perhaps you don't care about this linkage and just want to retrieve a file from the repository. To do that, double-click on the file in the CVS Repositories view. Once the file opens in an editor, save it wherever you'd like.
cvs co <your_project>/path/to/file_you_are_interested_in
精彩评论