svn copy command

旧城冷巷雨未停 提交于 2019-12-07 14:19:00

问题


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.


回答1:


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

svn copy svn+ssh://user@svn.example.com/software/branches/branch_name svn+ssh://user@svn.example.com/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



来源:https://stackoverflow.com/questions/11013729/svn-copy-command

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!