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