Name

svk status — Print the status of working copy files and directories.

Synopsis

svk status [PATH...]

Description

Print the status of working copy files and directories. With no arguments, it prints only locally modified items (no repository access).

The first three columns in the output are each one character wide, and each column gives you information about different aspects of each working copy item.

The first column indicates that an item was added, deleted, or otherwise changed.

' '

No modifications.

'A'

Item is scheduled for Addition.

'D'

Item is scheduled for Deletion.

'M'

Item has been Modified.

'R'

Item has been Replaced in your working copy.

'C'

The contents (as opposed to the properties) of the item conflict with updates received from the depot.

'I'

Item is being ignored (e.g. with the svn:ignore property).

'?'

Item is not under version control—not displayed if --quiet switch is present.

'!'

Item is missing (e.g. you moved or deleted it without using svk). This also indicates that a directory is incomplete (a checkout or update was interrupted).

'~'

Item is versioned as one kind of object (file, directory, link), but has been replaced by different kind of object.

The second column tells the status of a file's or directory's properties.

' '

No modifications.

'M'

Properties for this item have been modified.

'C'

Properties for this item are in conflict with property updates received from the repository.

The third column is populated only if the item is scheduled for addition-with-history.

' '

No history scheduled with commit.

' '

History scheduled with commit.

Remaining fields are variable width and delimited by spaces: The working revision (with -v) The last committed revision and last committed author (with -v) The working copy path is always the final field, so it can include spaces.

Alternate Names

st, stat

Changes

Nothing

Accesses Depot

Yes

Accesses Mirrored Repository

No

Switches

--quiet [-q]

do not display files not under version control

--no-ignore

disregard default and svn:ignore property ignores

-N [--non-recursive]

do not descend recursively

-v [--verbose]

print full revision information on every item

Examples

This is the easiest way to find out what changes you have made to your working copy:

$ svk status wc
 M  wc/bar.c
A   wc/qax.c

If you want to find out what files in your working copy are out-of-date, you should use svk update --check-only instead of svk status, see svk update.

For many more examples of svk status, see the section called “svk status.