svn复制命令

pot*_*man 3 svn branch branching-and-merging

我理解这是一个非常noob的问题,但是当我尝试使用以下命令从已存在的分支(而不是trunk)创建一个新分支时:

svn copy svn+ssh://svn.example.com/software/branches/branch_name svn+ssh://svn.example.com/software/branches/new_branch_name  -m "Message"
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

svn:'svn + ssh://svn.example.com/software/branches'中找不到存储库

我一次又一次地检查,目录是正确的.我不明白为什么会这样.

pot*_*man 5

啊,终于弄明白了这个错误......命令应该是: -

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"

我错过了用户部分,这在指南中没有给出.

它现在绝对正常:D