svn list — List directory entries of a URL.
svn list URL...
List directory entries of a URL. If URL is a file, just the file entry will be displayed. svn list does not work on paths in your working copy.
ls
Nothing
Yes
--revision (-r) REV --verbose (-v) --recursive (-R) --username USER --password PASS --no-auth-cache --non-interactive
svn list is most useful if you want to see what files a repository has without downloading a working copy:
$ svn list http://svn.red-bean.com/repos/test/support README.txt INSTALL examples/ …
Like UNIX ls, you can also pass the --verbose switch for additional information:
svn list --verbose file:///tmp/repos P 16 sally 28361 Jan 16 23:18 README.txt _ 27 sally 0 Jan 18 15:27 INSTALL _ 24 harry 0 Jan 18 11:27 examples/
For further details, see the section called “svn list”.