Add folder to SVN repository without checking out or committing?

If you do svn mkdir mynewdirectory then it will create mynewdirectory on your local machine and only update the repository the next time that you commit.

However, if you do svn mkdir svn://svnrepo.my.big.business.com/myproject/mydirectory then the directory is created on the repository. You can use this URL format with any svn commands, for instance you can use svn copy to make a copy of project on the repository by using the URL form for both the from and the to directories.


svn import can immediately commit a local directory, or svn mkdir if you want to create a directory in the repo without any local file involvement.