Oded
Oded

Reputation: 795

CVS checkout from Windows command line Windows

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

Answers (2)

Juozas Kontvainis
Juozas Kontvainis

Reputation: 9597

cvs -q -d <CVSROOT> co -r <BRANCH> -d <DESTINATION> <PACKAGE>

Upvotes: 3

anon
anon

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

Related Questions