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.
Asked
Active
Viewed 2,416 times
2 Answers
2
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.

mouviciel
- 66,855
- 13
- 106
- 140
-
Perhaps you meant "cvs ls -R"? – Jaywalker May 13 '09 at 07:37
-
ls works with working copy, whereas rls works directly with repository. – mouviciel May 13 '09 at 12:47
0
Adding a useful thing, might not the solution you seek. :) TortoiseCVS can show the structure without checking out the files.

Chathuranga Chandrasekara
- 20,548
- 30
- 97
- 138
-
Yes but I would like to be able to export/ copy the structure in some text form. UI is good for viewing but bad for scripting. – Jaywalker May 13 '09 at 05:26