svn Creating a branch using direct URL to URL copy


Example

Branching in Subversion is very simple. In the simplest form, creating a new branch requires you to run the command against the remote repository's URLs. For example, let's create a new branch out of the mainline trunk:

svn copy https://svn.example.com/svn/MyRepo/MyProject/trunk https://svn.example.com/svn/MyRepo/MyProject/branches/MyNewBranch -m "Creating a new branch"

The new branch is ready and you can begin working with it. Check out a new working copy with the new branch or switch your existing working copy using svn switch command.