Name

update

Synopsis

svn update [PATH ...]

svn update brings changes from the repository into your working copy. If no revision is 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 option.

For each updated item Subversion prints a line starting with a specific character reporting the action taken. These characters have the following meaning:

A

Added

B

Broken lock (third column only)

D

Deleted

U

Updated

C

Conflicted

G

Merged

E

Existed

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. Lock information is printed in the third column.

Tip

If you want to examine an older revision of a single file, you may want to use svn cat.

Alternate names: up

Changes: working copy

Accesses repository: yes

Options

--accept arg
--changelist name, -cl name
--depth arg
--diff3-cmd cmd
--editor-cmd editor
--force
--ignore-externals
--quiet (-q)
--revision rev, -r rev
--set-depth arg

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.