2009-04-29 29 views
5

我在Visual Studio 2005中使用Ankhsvn 2.0.6347.433,它报告说Ankhsvn的Subversion客户端对于工作副本来说太旧了。给出的错误链接到http://subversion.tigris.org/faq.html#working-copy-format-change,其中讨论了在Subversion 1.5格式化结帐中使用1.4.4 Subversion客户端。Ankhsvn错误:客户端太老,无法与工作副本一起工作

Ankhsvn的home page表示Ankhsvn 2.0及以上版本在内部使用subversion 1.5。该链接没有提及任何关于有问题的1.5个客户。

我自己的有限的故障排除没有发现任何我可以直接指向的东西,但我确实安装了TortoiseSVN 1.6.1,它在内部使用Subversion 1.6.1。我有一个习惯,使用TortoiseSVN来提交我的项目文件夹中的东西,它会绕过Ankhsvn正在做的任何事情。这是否会导致类似的问题,试图使用1.4.4和1.5客户端会导致或发生其他事情?

编辑:好的,我不应该混合1.6和1.5客户端。

我该如何解决这个问题?如果可能,我想使用AnkhSVN。

+0

最好在项目的邮件列表/论坛上提问这样的问题,而不是在这里提问。这也不是一个编程问题。 – 2009-05-02 19:53:06

回答

10

如果你看一下在release notes颠覆1.6,你会看到下面的

The working copy format has been upgraded. This means that 1.5 and older Subversion clients will not be able to work with working copies produced by Subversion 1.6. Working copies are upgraded automatically.

因此,如果您使用的是1.6基于客户端,没有以前的版本将正常工作。在释放进一步的读书笔记,你应该能够在需要时降级工作副本...

WARNING: if a Subversion 1.6 client encounters a pre-1.6 working copy, it will automatically upgrade the working copy format as soon as it touches it, making it unreadable by older Subversion clients. If you are using several versions of Subversion on your machine, be careful about which version you use in which working copy, to avoid accidentally upgrading a working copy. (But note that this "auto upgrade" behavior does not occur with the repositories, only working copies.)

If you accidentally upgrade a 1.5 working copy to 1.6, and wish to downgrade back to 1.5, use the change-svn-wc-format.py script. See this FAQ entry for details, and run the script with the --help option for usage instructions.

+0

AnkhSVN 2.1使用Subversion 1.6 ..查看http://ankhsvn.net/daily上的日常构建(和将来的稳定版本) – 2009-05-05 13:50:43

5

布雷特得到我的+1,并在安赫SVN 1.6的支持,使用daily构建。

+0

每日构建安全吗? – epochwolf 2009-04-29 02:44:21

1

另一种使用每日构建Ankh的选择(请参阅Si的答案!)将恢复为使用SVN 1.5的TortoiseSVN 1.5.9。这会迫使你将你的工作副本降级到1.5(见布雷特的答案!)。

有一个链接可以下载1.5.9版本here

0

我曾经遇到过这个问题。也许它不适用于你的情况,但也许它会帮助别人。

我有双启动窗口& ubuntu。在ubuntu的终端中,当我尝试更新时遇到了这个错误,但在阅读了关于格式更改的评论之后,我确认我已经有了最新版本。

然后,我明白了我试图更新的文件夹是由Windows中的Tortoise/Ankh创建的;我只是为linux版本的代码创建了一个单独的文件夹,因为构建文件是不同的,这也是有意义的。

相关问题