Search code examples
pythonscriptingcvsvcs-checkout

VCS checkout based on a file


I want to checkout a bunch of files from a CVS server.
Is there a way I can pass cvs command a file name which contains files I want to checkout
Is there another way of accomplishing that?


Solution

  • Assuming you are using a bash-style shell:

    cvs co $(< myfile)
    

    Where myfile contains the list of files you want to check out.

    If you're talking about modules instead of files, Oliver Giesen's answer will be useful.