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

--config-dir dir

--recursive (-R)

--no-auth-cache

--revisionrev, -rrev

--non-interactive

--username user

--password pass

--verbose (-v)

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 sue         28361 Jan 16 23:18 README.txt
         27 sue             0 Jan 18 15:27 INSTALL
         24 joe               Jan 18 11:27 examples/

Get Unix in a Nutshell, 4th 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.