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?
Asked
Active
Viewed 383 times
3
Zoe
- 23,712
- 16
- 99
- 132
John Retallack
- 1,358
- 2
- 15
- 31
2 Answers
1
You might want to take a look at the docs for the CVSROOT/modules
file and then define a regular module like this:
MyModule folder file1 file2 file3 [...]
You would then be able to do:
cvs co MyModule
Oliver Giesen
- 8,745
- 5
- 43
- 81
1
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.
bstpierre
- 26,946
- 14
- 63
- 100