R – Checkout only the directory structure


How can I checkout only the directory structure of a project (without any files) in a CVS repository? This could be useful, e.g. to know the structure itself, and selectively checkout the folders later. I might not be interested in, say, the test cases folder which might take too much space on my local hard disk.

Best Solution

If you want only to know the structure itself, you can use cvs rls -R which lists recursively contents of the repository. From this output, you can filter out files and get directory hierarchy.