CVS checkout from Windows command line Windows

余生颓废 提交于 2019-12-10 20:49:23

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!