---
name: "SVK::Command::Diff"
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::Diff"
---

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

Display diff between revisions or checkout copies

## NAME

SVK::Command::Diff - Display diff between revisions or checkout copies

## SYNOPSIS

```
 diff [-r REV] [PATH...]
 diff -r N[:M] DEPOTPATH
 diff -c N DEPOTPATH
 diff DEPOTPATH1 DEPOTPATH2
 diff DEPOTPATH PATH
```

## OPTIONS

```
 -r [--revision] arg    : ARG (some commands also take ARG1:ARG2 range)
 -c [--change]   rev    : show change from rev-1 to rev (reverse if negative)
                          A revision argument can be one of:
                          "HEAD"       latest in repository
                          {DATE}       revision at start of the date
                          NUMBER       revision number
                          NUMBER@      interpret as remote revision number
                          NUM1:NUM2    revision range
                          Given negative NUMBER means "HEAD"+NUMBER.
                          (Counting backwards)
 -s [--summarize]       : show summary only
 -v [--verbose]         : print extra information
 -X [--expand]          : expand files copied as new files
 -N [--non-recursive]   : do not descend recursively
 See also SVKDIFF in svk help environment.
```
