
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
248
|
Appendix A: Subversion for CVS Users
If you specify the --show-updates (-u) switch, a longer output format is used:
% svn status -u
M 1047 ./foo.c
* 1045 ./faces.html
* - ./bloo.png
M 1050 ./bar/baz.c
Status against revision: 1066
In this case, two new columns appear. The second column contains an asterisk if the
file or directory is out-of-date. The third column shows the working copy’s revision
number of the item. In the previous example, the asterisk indicates that faces.html
would be patched if we updated, and that bloo.png is a newly added file in the repos-
itory. (The
- next to bloo.png means that it doesn’t yet exist in the working copy.)
Lastly, here’s a summary of the most common status codes that you may see:
A Resource is scheduled for Addition
D Resource is scheduled for Deletion
M Resource has local modifications
C Resource has conflicts (changes have not been completely merged
between the repository and working copy version)
X Resource is external to this working copy (comes from another
repository. See XREF linkend="svn-ch-7-sect-2.3.6")
? Resource is not under version control
! Resource is missing or incomplete (removed by another tool than
Subversion)
Subversion has combined the CVS P and U codes into just U. When a merge or con-
flict occurs, Subversion simply prints ...