potato man
potato man

Reputation: 151

svn copy command

I understand that this a very noob problem, but when I try to create a new branch from already present branch (not trunk) with the command :

svn copy svn+ssh://svn.example.com/software/branches/branch_name svn+ssh://svn.example.com/software/branches/new_branch_name  -m "Message"

I get the following error :

svn: No repository found in 'svn+ssh://svn.example.com/software/branches'

I have checked again and again, the directory is correct. I don't understand why this is happening.

Upvotes: 3

Views: 9647

Answers (1)

potato man
potato man

Reputation: 151

Ahh finally figured out the mistake... the command should have been :-

svn copy svn+ssh://[email protected]/software/branches/branch_name svn+ssh://[email protected]/software/branches/new_branch_name -m "Message"

I missed out the user part, which wasn't given in the guide.

it works absolutely fine now :D

Upvotes: 5

Related Questions