2013-03-19 99 views
0

我尝试使用下面的命令来删除svn的现有标签:问题的svn delete命令

C:\>svn delete --username xxx --password yyy http://subversion-practice.sweng.xyz.com/cvn/repos/ps/port/tags/PORT_0310xx_05_88_tools -m Deleting PORT_0310xx_05_88_tools 2>&1 

但它失败,出现以下错误:

svn: 'C:/PORT_0310xx_05_88_tools' isn't in the same repository as ' http://subversion-practice.sweng.xyz.com/cvn/repos/ps/port '

想不通为什么它寻找'C:/ PORT_0310xx_05_88_tools'而不是'http://subversion-practice.sweng.xyz.com/cvn/repos/ps/port/tags/PORT_0310xx_05_88_tools'。

回答

1

对于犯有空格的消息,你必须使用-m "Deleting PORT_0310xx_05_88_tools",否则只有第一个字是-m参数,其余的将是删除

Each item specified by...

额外的目标