svk mkdir — Create a new directory under version control.


svk mkdir PATH...
svk mkdir DEPOTPATH


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



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.


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


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.