Jaywalker
Jaywalker

Reputation: 3119

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.

Upvotes: 1

Views: 2430

Answers (2)

mouviciel
mouviciel

Reputation: 67829

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.

Upvotes: 2

Chathuranga Chandrasekara
Chathuranga Chandrasekara

Reputation: 20906

Adding a useful thing, might not the solution you seek. :) TortoiseCVS can show the structure without checking out the files.

Upvotes: 0

Related Questions