Tortoise SVN 日志“URL ..不存在" [英] Tortoise SVN log "URL .. doesn't exist"

查看:42
本文介绍了Tortoise SVN 日志“URL ..不存在"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Windows 7 Professional 和 Tortoise SVN 1.9.4.

I'm using Windows 7 Professional and Tortoise SVN 1.9.4.

所以我在 SVN 控制下的目录上单击鼠标右键,然后选择 Show SVN Log.显示了多个修订版.我选择了多个连续的修订版,这些修订版都没有重命名或移动任何文件或目录.日志窗口的第三个区域显示受所选范围影响的文件.我双击一个文件来查看差异.我没有看到差异,而是看到了一个弹出错误:

So I right click on a directory under SVN control and choose Show SVN Log. Multiple revisions are shown. I select multiple contiguous revisions, none of these rename or move any file or directory. The third area of the log window shows me the files affected by the selected range. I double-click on a file to view the differences. Instead of seeing differences I instead see a popup error:

Subversion 报告错误.URL ...://svnrepository.MYDOMAIN.com/svn/X/Y/trunk/somefile.txt 不存在"

"Subversion reported an error. URL ...://svnrepository.MYDOMAIN.com/svn/X/Y/trunk/somefile.txt doesn't exist"

什么会导致这种情况?

推荐答案

很老的问题,但万一其他人来到这里(就像我今天所做的那样),我想我知道发生了什么.问题是,如果您选择多个修订,操作"修饰符将不会显示在底部窗格中.如果您改为一次选择一个修订版,您可能会发现有问题的文件(OP 示例中的somefile.txt")将被列为已添加"或已移动".(同样,当您一次选择所有修订时,该信息将被隐藏.)如评论中所述,当您尝试在差异工具中打开该文件时,这会导致 SVN 阻塞.

Very old question, but in case anyone else lands here (like I did today), I think I know what's going on. The problem is, if you select multiple revisions, the "Action" modifier won't be displayed in the bottom pane. If you were to instead select one revision at a time, you are likely to discover that the problematic file ("somefile.txt", in OP's example) will be listed as "Added" or "Moved". (Again, that information is hidden when you select all the revisions at once.) As mentioned in the comments, this causes SVN to choke when you attempt to open that file in a differencing tool.

不幸的是,此时唯一的解决方法似乎是仅对添加新文件之后出现的那些修订进行分组,并对它们进行区分.

Unfortunately, the only workaround at this point appears to be grouping only those revisions which appear after the new file was added, and diff those.

这篇关于Tortoise SVN 日志“URL ..不存在"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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