svn update — Update your working copy.
svn update [PATH...]
brings changes from the
repository into your working copy. If no revision given,
it brings your working copy up-to-date with the
HEAD revision. Otherwise, it
synchronizes the working copy to the revision given by the
--revision switch. As part of the
removes any stale locks found in the working copy.
For each updated item a line will start with a
character reporting the action taken. These characters
have the following meaning:
A character in the first column signifies an update
to the actual file, while updates to the file's
properties are shown in the second column.
--revision (-r) REV
Pick up repository changes that have happened since
your last update:
$ svn update
Updated to revision 32.
You can also update your working copy to an older
revision (Subversion doesn't have the concept of
“sticky” files like CVS does; see
Appendix A, Subversion for CVS Users
$ svn update -r30
Updated to revision 30.
If you want to examine an older revision of a
single file, you may want to use