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

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

Create or edit the depot mapping configuration

## NAME

SVK::Command::Depotmap - Create or edit the depot mapping configuration

## SYNOPSIS

```
 depotmap [OPTIONS]
 depotmap DEPOTNAME /path/to/repository
 depotmap --list
 depotmap --detach [DEPOTNAME | PATH]
 depotmap --relocate [DEPOTNAME | PATH] PATH
```

## OPTIONS

```
 -i [--init]            : initialize a default depot
 -l [--list]            : list current depot mappings
 -d [--detach]          : remove a depot from the mapping
 --relocate             : relocate the depot to another path
```

## DESCRIPTION

Run this command without any options would bring up your `$EDITOR`, and let you edit your depot-directory mapping.

Each line contains a map entry, the format is:

```
 depotname: '/path/to/repos'
```

The depotname may then be used as part of a DEPOTPATH:

```
 /depotname/path/inside/repos
```

Depot creation respects `$ENV`{SVNFSTYPE}, which is default to fsfs for svn 1.1 or later, and bdb for svn 1.0.x.
