SVN You need to upgrade the working copy first.

1、使用tortoiseSVN从仓库checkout了一个Android项目,用Android Studio打开。

经检查,svn 设置如下,

SVN You need to upgrade the working copy first.

2、更新代码时

SVN You need to upgrade the working copy first.

3、弹出窗口如下,与正常项目不一样

SVN You need to upgrade the working copy first.

4、一段时间后,更新失败,有以下提示

Error updating changes:svn:E155036: Please see the 'svn upgrade' commandesvn:E155036: The working copy at'F:\tmp\project' is too old(format 29) to work with client version '1.9.5(r1770682)' (expects format 31). You need to upgrade the working copy first.

解决方案:

1、在项目*目录右键,选择 “upgrade working copy”。如果没有找到 “upgrade working copy”这个选项,请看2.

2、在项目第一层目录下执行 svn upgrade,即可。

详细过程如下:

SVN You need to upgrade the working copy first.

再进行代码更新,界面如下

SVN You need to upgrade the working copy first.

更新结果:

SVN You need to upgrade the working copy first.

 

 

 

转载于:https://my.oschina.net/u/872141/blog/1572627