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

C

Conflict

D

Deleted

G

Merged

U

Updated

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.

Alternate Names:

up

Changes:

Working copy

Accesses Repository:

Yes

Tip

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

Options

--config-dir dir

--password pass

--diff3-cmd cmd

--quiet (-q)

--no-auth-cache

--revisionrev, -rrev

--non-interactive

--username user

--non-recursive (-N)

 

Get Unix in a Nutshell, 4th 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.