Name

svk mkdir — Create a new directory under version control.

Synopsis

svk mkdir PATH...
svk mkdir DEPOTPATH

Description

Create a directory with a name given by the final component of the PATH or DEPOTPATH. A directory specified by a working copy PATH is scheduled for addition in the working copy. A directory specified by a DEPOTPATH is created in the depot via an immediate commit. In both cases all the intermediate directories must already exist, unless the --parent (-p) switch is specified.

Alternate Names

None

Changes

Working copy, depot if operating on a DEPOTPATH, Mirrored repository if the DEPOTPATH is a mirrored path.

Accesses Depot

Only if operating on a DEPOTPATH.

Accesses Mirrored Repository

Only if operating on a DEPOTPATH which is mirrored.

Switches

--parent (-p)
--message (-m) TEXT
--file (-F) FILE
--template
--encoding ENC
--patch (-P)
--sign (-S)
--check-only (-C)
--direct

Examples

Create a directory in your working copy:

$ svk mkdir newdir
A   newdir

Create one in the repository (instant commit, so a log message is required):

$ svk mkdir --message "Making a new dir." //newdir
Committed revision 6.