Name

svk list — List directory entries in the depot.

Synopsis

svk list [TARGET[@REV]...]

Description

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 will be used.

The default TARGET is “.”, meaning the depotpath 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 Depot

Yes

Accesses Mirrored Repository

Yes

Switches

--revision (-r) REV
--recursive (-R)
--depth (-d) LEVEL
--full-path (-f)
--verbose (-v)

Examples

svk list is most useful if you want to see what files a depot has without checking out a working copy:

$ svk list //test/support
README.txt
INSTALL
examples/
…

You can pass the --verbose switch for additional information, rather like the UNIX command ls -l:

$ svk list --verbose //test/support
     16 sally         28361 Jan 16 23:18 README.txt
     27 sally             0 Jan 18 15:27 INSTALL
     24 harry               Jan 18 11:27 examples/
…

For further details, see the section called “svk list.