Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Svn subversion客户端1.7文件外部更新错误_Svn - Fatal编程技术网

Svn subversion客户端1.7文件外部更新错误

Svn subversion客户端1.7文件外部更新错误,svn,Svn,我在使用单个文件svn:externals的工作副本文件夹上使用svn update时遇到错误。我想知道是否有解决方法,是否我做错了什么,或者这是否是subversion客户端1.7.x中的一个bug 使用subversion 1.7.5(Trouted TortoiseSvn 1.7.7和slikSvn 1.7.5)在包含单个文件的文件夹上调用svn update时会发生错误。我很想说这是subversion客户端中的一个bug,因为更新确实发生了,但它说它失败了 作为参考,服务器端使用了一个

我在使用单个文件svn:externals的工作副本文件夹上使用
svn update
时遇到错误。我想知道是否有解决方法,是否我做错了什么,或者这是否是subversion客户端1.7.x中的一个bug

使用subversion 1.7.5(Trouted TortoiseSvn 1.7.7和slikSvn 1.7.5)在包含单个文件的文件夹上调用
svn update
时会发生错误。我很想说这是subversion客户端中的一个bug,因为更新确实发生了,但它说它失败了

作为参考,服务器端使用了一个非常旧的版本(1.1.4[r13838]),但据我所知,externals是一个客户端“功能”,所以旧服务器不应该是一个问题。此外,使用subversion 1.6.x(客户端)也可以很好地工作

这就是我观察到的情况:

  • 签出项目(具有单个文件
    svn:externals

  • 使用单个文件浏览到我的工作副本中的文件夹
    svn:externals
    。例如

    myFile.txt http://my/repo/components/comp1/myFile.txt
    
  • 执行
    svn update
    ,我得到以下输出:

  • 然后在3中显示错误消息。如下所示,因此最后一个正斜杠(“/”)后面的文件是文件的本地版本

    Fetching external item into 'trunk\proj1\source\myFile.txt': : warning: W160016: Failure opening '/components/comp1/myFile.txt/my_file.txt' 正在将外部项提取到“trunk\proj1\source\myFile.txt”中:
    :警告:W160016:无法打开“/components/comp1/myFile.txt/my_file.txt”这确实是subversion客户端中的一个错误。有关详细信息,请参阅:它已在subversion 1.7.7中修复


    正如问题中所指出的,幸运的是,它不会影响函数-本地文件仍会更新以匹配外部文件,但会显示虚假的错误消息。

    如果您认为这是一个错误,请写信给users@subversion.apache.org . 如果您不确定这是一个bug,您可以在freenode的#svn IRC频道询问。好的,谢谢。在网络上查找更多信息时,我发现了一个类似的问题users@subversion.apache.org:从2012年5月7日开始,但我找不到任何回复。我无法复制。它是否可以通过SVNKit(纯Java SVN实现)复制?URL和URL是否来自同一个存储库(“svn信息”会有帮助)?如果改用以下值:“my_file.txt”(新的外部格式)是否可以复制?my/repo/components/comp1/myFile.txt和my/repo/projects/proj1的存储库根目录都相同。我将
    svn:externals
    格式更改为“repo/url/to/myFile.txt local_name.txt”,但仍然收到相同的“失败打开”错误消息。这似乎与使用的svn服务器版本有关。如果我创建了一个测试svn服务器(版本1.7.x),问题就消失了。我仍然不明白为什么客户机1.7.x会突然对此抱怨。 Fetching external item into 'trunk\proj1\source\myFile.txt': : warning: W160016: Failure opening '/components/comp1/myFile.txt/myFile.txt'
    my_file.txt http://my/repo/components/comp1/myFile.txt
    
    Fetching external item into 'trunk\proj1\source\myFile.txt': : warning: W160016: Failure opening '/components/comp1/myFile.txt/my_file.txt'