subversion co depth

In Subversion, use --depth option to specify the level of hierarchy till which the checkout is desired. For example, the following would checkout only the top-level files (and not directories):

svn co --depth=files http://some/repo/url/src --username xyz

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.