svn复制命令 [英] svn copy command

查看:80
本文介绍了svn复制命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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"

我遇到以下错误:


svn:在'svn + ssh://svn.example.com/software/branches'

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.

推荐答案

Ahh终于弄明白了这个错误……命令应该是: -

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

svn复制svn + ssh://user@svn.example.com/software/branches/branch_name svn + ssh:// user @ svn.example.com / software / branches / new_branch_name -m消息

我错过了用户部分,这不是

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

现在可以正常使用了:D

it works absolutely fine now :D

这篇关于svn复制命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆