2009-04-29 69 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版本的代碼創建了一個單獨的文件夾,因爲構建文件是不同的,這也是有意義的。

相關問題