Overview: svn status codes / svn stat

18. April 2011 at 18:09

Overview about svn status codes (after typing of svn stat):


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


svn status [PATH...]


Print the status of working copy files and directories. With no arguments, it prints only locally modified items (no repository access). With --show-updates, add working revision and server out-of-date information. With --verbose, print full revision information on every item.

The first five 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.

Item is scheduled for Addition.

Item is scheduled for Deletion.

Item has been modified.

Item is in conflict with updates received from the repository.

Item is related to an externals definition.

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

Item is not under version control.

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

Item is versioned as a directory, but has been replaced by a file, or vice versa.

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

‚ ‚
No modifications.

Properties for this item have been modified.

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

The third column is populated only if the working copy directory is locked.

‚ ‚
Item is not locked.

Item is locked.

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

‚ ‚
No history scheduled with commit.

History scheduled with commit.

The fifth column is populated only if the item is switched relative to its parent (see the section called “Switching a Working Copy”).

‚ ‚
Item is a child of its parent directory.

Item is switched.

The out-of-date information appears in the eighth column (only if you pass the --show-updates switch).

‚ ‚
The item in your working copy is up-to-date.

A newer revision of the item exists on the server.

The remaining fields are variable width and delimited by spaces. The working revision is the next field if the --show-updates or --verbose switches are passed.

If the --verbose switch is passed, the last committed revision and last committed author are displayed next.

The working copy path is always the final field, so it can include spaces.

Alternate Names

stat, st

Daniel Briegert

Daniel Briegert

xing: https://www.xing.com/profile/Daniel_Briegert

More Posts - Website

Follow Me: