How do I create a directory list of a subversion repository

advertisements

I have a client that is asking me to give them a listing of every file and folder in the source code (and then a brief explanation of the source tree). Is there an easy way to create some sort of decently formatted list like this from a subversion repository?


You'll want the list command. Assuming you're using the command line client

svn list -R http://example.com/path/to/repos

This will give you a full recursive list of everything that's in the repository. Redirect it to a text file

svn list -R http://example.com/path/to/repos > file.txt

and then format to your heart's content.