Reputation: 2261
I am working on SVN. I have a repository on SVNServer and I want to create a branch in this repository. I have few doubts:
svn copy
command on SVN Server but it is not working.
I created a branches folder inside repository and executing this command as:svn copy d:\sx000\repository\reposphil D:\sx000\repository\reposphil\branches
svn error after executing above command: E200007
Later I tried
svn copy d:\sx000\repository\reposphil D:\sx000\repository\branches
svn error: E155007
So none of the options are working. Please suggest how should I create a branch now.
Upvotes: 1
Views: 652
Reputation: 146630
You can create branches both ways:
I find it easier to use the repository approach. Otherwise, you'd need to checkout your complete repository.
As a general rule (and this applies to all commands, not just copy) you cannot access the repository file directly: you need to use the repository URL, which can have one of these formats:
That's why this command:
svn copy d:\sx000\repository\reposphil D:\sx000\repository\reposphil\branches
^^^ ^^^
... fails.
Upvotes: 4
Reputation: 444
If you are using tortoise svn you can try this: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-branchtag.html
Upvotes: 1