Name

list

Synopsis

svn list [target ...]

List each target file and the contents of each target directory as they exist in the repository. If target is a working copy path, the corresponding repository URL is used. The default target is ., meaning the repository URL of the current working-copy directory.

With --verbose, the following fields show the status of the item:

  • Revision number of the last commit

  • Author of the last commit

  • Size (in bytes)

  • Date and time of the last commit

Alternate names: ls

Changes: nothing

Accesses repository: yes

Options

--depth arg
--incremental
--revision rev, -r rev
--verbose (-v)
--xml

Examples

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/
...

Pass the --verbose option for additional information:

$ svn list --verbose file:///tmp/repos
    16 sally         28361 Jan 16 23:18 README.txt
    27 sally             0 Jan 18 15:27 INSTALL
    24 harry               Jan 18 11:27 examples/

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.