Reputation: 470
I need an equivalent command to create a folder in the repository browser on the repository.i.e In the repo browser i can right click and select option Create folder..
I don't want to create a folder in the working copy then add command
and commit command
.
Is there any command to like svn add http://remote/tags
.
Where tags
is new folder i am trying to create on the repository.
Upvotes: 0
Views: 186
Reputation: 55453
Yes, this subcommand is called mkdir
:
$ svn help mkdir
mkdir
: Create a new directory under version control.usage: 1. mkdir PATH... 2. mkdir URL...
Create version controlled directories.
Each directory specified by a working copy PATH is created locally and scheduled for addition upon the next commit.
Each directory specified by a URL is created in the repository via an immediate commit.
In both cases, all the intermediate directories must already exist, unless the
--parents
option is given.
That is, you need that
Each directory specified by a URL is created in the repository via an immediate commit.
bit.
Upvotes: 1