---
name: "SVK::Command::Update"
section: "3pm"
platform: "linux"
package: "svk"
version: "2.0.2-3"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/SVK::Command::Update"
---

# SVK::Command::Update(3pm)

Bring changes from repository to checkout copies

## NAME

SVK::Command::Update - Bring changes from repository to checkout copies

## SYNOPSIS

```
 update [PATH...]
```

## OPTIONS

```
 -r [--revision] REV    : act on revision REV instead of the head revision
 -N [--non-recursive]   : do not descend recursively
 -C [--check-only]      : try operation but make no changes
 -s [--sync]            : synchronize mirrored sources before update
 -m [--merge]           : smerge from copied sources before update
 -q [--quiet]           : print as little as possible
```

## DESCRIPTION

Synchronize checkout copies to revision given by -r or to HEAD revision by default.

For each updated item a line will start with a character reporting the action taken. These characters have the following meaning:

```
  A  Added
  D  Deleted
  U  Updated
  C  Conflict
  G  Merged
  g  Merged without actual change
```

A character in the first column signifies an update to the actual file, while updates to the file's props are shown in the second column.

If both `"--sync"` and `"--merge"` are specified, like in `"svk up -sm"`, it will first synchronize the mirrored copy source path, and then smerge from it.
