Reputation: 795
Is there a way to check out from CVS using Windows command line (cmd) given the branch, package, and destination dir?
Upvotes: 3
Views: 6301
Reputation: 9597
cvs -q -d <CVSROOT> co -r <BRANCH> -d <DESTINATION> <PACKAGE>
Upvotes: 3
Reputation:
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.
Upvotes: 0