问题
Is there a way to check out from CVS using Windows command line (cmd) given the branch, package, and destination dir?
回答1:
cvs -q -d <CVSROOT> co -r <BRANCH> -d <DESTINATION> <PACKAGE>
回答2:
CVS is a monolithic executable, which doesn't have an API as such. So to execute a CVS command, you use std::system( "cvs command params" ) or similar, just as you would have done from the command line.
来源:https://stackoverflow.com/questions/1286786/cvs-checkout-from-windows-command-line-windows