Linux SVN 1.7.1 问题
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7887395/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
SVN 1.7.1 Issue
提问by DarkMantis
I have just upgraded to SVN 1.7.1 and I have had nothing but problems trying to get my netbeans and everything else to work with it. I have tried 'svn upgrade' but I get an error which is as follows:
我刚刚升级到 SVN 1.7.1,除了试图让我的 netbeans 和其他一切与它一起工作之外,我什么都没有。我尝试过“svn upgrade”,但出现如下错误:
C:\wamp\Projects>svn upgrade BMPortal
svn: E155019: Can't upgrade 'C:\wamp\Projects\BMPortal' as it is not a pre-1.7 working copy directory svn: E150000: Missing default entry
C:\wamp\Projects>svn 升级 BMPortal
svn: E155019: 无法升级“C:\wamp\Projects\BMPortal”,因为它不是 1.7 之前的工作副本目录 svn: E150000: 缺少默认条目
Could anyone suggest a way to fix this. The reason why I am trying to upgrade is because my netbeans says:
任何人都可以建议一种方法来解决这个问题。我尝试升级的原因是因为我的 netbeans 说:
The Path 'C:\wamp\Projects\BMPortal' appears to be part of a Subversion 1.7 or greater working copy. Please upgrade your Subversion client to use this working copy.
路径“C:\wamp\Projects\BMPortal”似乎是 Subversion 1.7 或更高版本工作副本的一部分。请升级您的 Subversion 客户端以使用此工作副本。
As I have upgraded my SVN Client to 1.7, I don't know why it is still moaning at me.
当我将我的 SVN 客户端升级到 1.7 时,我不知道为什么它仍然在向我抱怨。
Just FYI:
仅供参考:
The SVN Server is on an Arch Linux box running UberSVN. The client (my computer) is Windows 7 64bit.
SVN 服务器位于运行 UberSVN 的 Arch Linux 机器上。客户端(我的电脑)是 Windows 7 64 位。
采纳答案by Nick Shaw
SVN v1.7.0 and above uses a new working copy file format, so you need to upgrade your working copy to the new format. If you right-click the folder in Windows Explorer, the TortoiseSVN context menu items should show only "SVN Upgrade working copy" - click that to upgrade it.
SVN v1.7.0 及以上版本使用新的工作副本文件格式,因此您需要将您的工作副本升级为新格式。如果您在 Windows 资源管理器中右键单击该文件夹,TortoiseSVN 上下文菜单项应仅显示“SVN 升级工作副本” - 单击以升级它。
Warning: If you use any other SVN apps as well as TortoiseSVN on the same PC, they may not work with the new working copy file format.
警告:如果您在同一台 PC 上使用任何其他 SVN 应用程序以及 TortoiseSVN,它们可能无法使用新的工作副本文件格式。
It's worth upgrading in my opinion though - must faster, better merging, better dialogs and error reporting, etc!
不过我认为值得升级 - 必须更快,更好的合并,更好的对话和错误报告等!
回答by A.H.
Your Netbeans installation seems to use another SVN-Client as the one when you type svn
on the console.
当您svn
在控制台上键入时,您的 Netbeans 安装似乎使用另一个 SVN 客户端。
So you have to upgrade your Netbeans-Subversion plugin too.
所以你也必须升级你的 Netbeans-Subversion 插件。
回答by DarkMantis
Sorry to waste your time guys, I have finally found a work around for this, http://netbeans.org/projects/versioncontrol/pages/Subversion1_7
抱歉浪费你们的时间,我终于找到了解决这个问题的方法,http://netbeans.org/projects/versioncontrol/pages/Subversion1_7
But thanks again all the same! It's much appreciated!
但还是要再次感谢!非常感谢!
回答by Andrés Farías
I actually had the very same problem (or at least the same error message!). After trying everything you have said earlier and not getting any results, I realise that I had copied some files to the project that contains svn files from an older (1.6) version. I delete the 1.6 folders and the everything worked fine again.
我实际上遇到了同样的问题(或者至少是同样的错误信息!)。在尝试了您之前所说的所有内容但没有得到任何结果后,我意识到我已将一些文件复制到包含旧 (1.6) 版本的 svn 文件的项目中。我删除了 1.6 文件夹,一切又正常了。
I hope this could help some other people too!
我希望这也能帮助其他一些人!
Best regards, Andrés
最好的问候,安德烈斯