2

Mac使用了最新的IntelliJ IDEA, 使用svn的时候报错如下

Error:svn: E155021: This client is too old to work with the working copy at
'/Users/foo/workspace/bar/myproject' (format 31).
You need to get a newer Subversion client. For more details, see
  http://subversion.apache.org/faq.html#working-copy-format-change

似乎是系统的svn版本与IntellJ IDEA自带的Subversion版本不一致
系统svn 版本

svn --version
svn, version 1.9.4 (r1740329)

IntelliJ IDEA Subversion 版本

/Users/foo/workspace/bar/myproject
URL: https://svn.int.helijia.com/svn/server/samples/spring-boot-reservation
Format: 1.8
Depth: infinity

解决方法

which svn
/usr/local/bin/svn

图片描述

参考文档
http://stackoverflow.com/questions/27660888/intellij-14-on-osx-how-to-specify-version-of-svn-client-used-through-the-ide


zhuguowei2
825 声望26 粉丝