1

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.

Zoe
  • 27,060
  • 21
  • 118
  • 148
Jaywalker
  • 3,079
  • 3
  • 28
  • 44

2 Answers2

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
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