【问题标题】:svn copy commandsvn 复制命令
【发布时间】:2012-06-14 01:42:30
【问题描述】:

我知道这是一个非常菜鸟的问题,但是当我尝试使用以下命令从已经存在的分支(不是主干)创建一个新分支时:

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

我收到以下错误:

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

我反复检查,目录是正确的。我不明白为什么会这样。

【问题讨论】:

  • svn info svn+ssh://svn.example.com/software/branches 说什么?
  • @malenkiy_scot : 它说同样的话 'svn: No repository found in 'svn+ssh://svn.example.com/software/branches''
  • 好的,svn info svn+ssh://svn.example.com/software 呢?
  • 确定您使用的是svn+ssh 协议吗?
  • 同样的错误:svn: No repository found in .....

标签: svn branch branching-and-merging


【解决方案1】:

啊终于发现错误了……命令应该是:-

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-12-01
    • 1970-01-01
    • 2011-01-21
    • 1970-01-01
    • 2014-05-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多