TortoiseSVN 1.6.X 与 Netbeans 6.5.1 Subversion Plug-in 兼容问题

来源:互联网 发布:深圳什么网络好 编辑:程序博客网 时间:2024/06/05 21:12

TortoiseSVN 1.6.X 与  Netbeans 6.5.1 Subversion Plug-in 兼容问题

---

Created by : Andrew.Wu

Created on : 2009/04/12

---

 

TortoiseSVN 升级到 1.6.0,为项目创建 repository。会发现 Netbeans 的 svn 提示

 

It seems that files you are working with were created with an unsupported client version. Please check out your files again with SVN client 1.3.0 or later.

 

google:

http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1590483

You should not mix incompatible svn client versions on the same
working copy. TSVN 1.6.0 is built using the subversion 1.6 libraries,
and these use a newer working copy format. The previous version
(1.5.9) was built against subversion 1.5.x using the previous working
copy format.

Until a newer version of Netbeans is available, also built against the
newer subversion libraries, you should stick with TSVN 1.5.9

P.S.: The error message is misleading, because in this case a newer
client was used to create the working copy and the error message
assumes it was done using an older version.

 

解决方案:

找一个1.5.x版本的 svn,用命令行 svnadmin.exe create "repository" 。然后就可以用 tortoisesvn 1.6.0 的 repository browser GUI 界面来创建新的目录,用 netbeans 的 svn 来提交。

如果源码目录有.svn,用下面命令行清理

for /r /d %%D in (.SVN) do @rmdir /q /s "%%D"

 

原创粉丝点击