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

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

Initialize a mirrored depotpath

## NAME

SVK::Command::Mirror - Initialize a mirrored depotpath

## SYNOPSIS

```
 mirror [http|svn]://host/path DEPOTPATH
 # You may also list the target part first:
 mirror DEPOTPATH [http|svn]://host/path
 mirror --list [DEPOTNAME...]
 mirror --relocate DEPOTPATH [http|svn]://host/path
 mirror --detach DEPOTPATH
 mirror --recover DEPOTPATH
 mirror --upgrade //
 mirror --upgrade /DEPOTNAME/
```

## OPTIONS

```
 -l [--list]            : list mirrored paths
 -d [--detach]          : mark a depotpath as no longer mirrored
 --relocate             : change the upstream URI for the mirrored depotpath
 --recover              : recover the state of a mirror path
 --unlock               : forcibly remove stalled locks on a mirror
 --upgrade              : upgrade mirror state to the latest version
```
