Name

svn mkdir — Create a new directory under revision control.

Synopsis

svn mkdir TARGET...

Description

Create a directory with a name given by the final component of TARGET. If TARGET is a working copy path the directory is scheduled for addition in the working copy. If TARGET is a URL the directory is created in the repository via an immediate commit. In both cases all the intermediate directories must already exist.

Alternate Names

None

Changes

Working copy, repository if operating on a URL

Accesses Repository

Only if operating on a URL

Switches

--message (-m) TEXT
--file (-F) FILE
--quiet (-q)
--username USER
--password PASS
--no-auth-cache
--non-interactive
--encoding ENC
--force-log
          

Examples

Create a directory in your working copy:

$ svn mkdir newdir
A         newdir
          

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

$ svn mkdir -m "Making a new dir." http://svn.red-bean.com/repos/newdir

Committed revision 26.