Mac上刚安装的WebStorm或PHPStorm遇到SVN版本太旧的问题
2016-04-27 14:24
696 查看
Mac上刚安装的WebStorm或PHPStorm遇到SVN版本太旧的问题:
参考这位大侠的解决方法:
For developing WordPress with PHPStorm I seem to need Subversion 1.8 due to this notification:
Which shows this error:
It reads svn: E155021: This client is too old to work with the working copy at ‘/Users/andrea/dev/wp/vvv/www/wordpress-develop’ (format 31). You need to get a newer Subversion client. For more details, see http://subversion.apache.org/faq.html#working-copy-format-change.
Here they say
Now, IntelliJ IDEA offers different integration options for each specific Subversion:
1.6 – SVNKit only
1.7 – SVNKit and command line client
1.8 – Command line client only
If you opt to the command line client, make sure you have its binaries installed on your machine, because they are not bundled with IntelliJ IDEA.
So I checked my system:
Then I installed Subversion all together using brew.
It took some seconds to download and compile, but eventually I got:
Uh?
OK, then I tried editing my ~/.bash_profile:
After which I had:
Then I closed PHPStorm and opened it again… But PHPStorm error didn’t go away !!
Then I searched PHPStorm preferences for “svn” and tried forcing/usr/local/bin/svn:
Which immediately made the error disappear:
So I undid the PATH change, just to be sure OSX still sees Subversion 1.7, and all is working fine.
URL: | svn: E155021: This client is too old to work with the working copy at '/******/' (format 31). You need to get a newer Subversion client. For more details, see http://subversion.apache.org/faq.html#working-copy-format-change |
Format: | 1.8 |
Depth: | unknown |
For developing WordPress with PHPStorm I seem to need Subversion 1.8 due to this notification:
Which shows this error:
It reads svn: E155021: This client is too old to work with the working copy at ‘/Users/andrea/dev/wp/vvv/www/wordpress-develop’ (format 31). You need to get a newer Subversion client. For more details, see http://subversion.apache.org/faq.html#working-copy-format-change.
Here they say
Now, IntelliJ IDEA offers different integration options for each specific Subversion:
1.6 – SVNKit only
1.7 – SVNKit and command line client
1.8 – Command line client only
If you opt to the command line client, make sure you have its binaries installed on your machine, because they are not bundled with IntelliJ IDEA.
So I checked my system:
$ svn --version svn, version 1.7.17 (r1591372) compiled Aug 7 2014, 17:03:25 ...
Then I installed Subversion all together using brew.
$ brew update Updated Homebrew from 80f2d299 to 93e17517. ... $ brew info subversion subversion: stable 1.8.10 (bottled) https://subversion.apache.org/ Not installed ... $ brew install subversion ==> Installing dependencies for subversion: readline, sqlite, openssl ==> Installing subversion dependency: readline ... ==> Installing subversion ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/subversion-1.8.10_1.mavericks.bottle.3.tar.gz ######################################################################## 100,0% ==> Pouring subversion-1.8.10_1.mavericks.bottle.3.tar.gz ==> Caveats svntools have been installed to: /usr/local/opt/subversion/libexec Bash completion has been installed to: /usr/local/etc/bash_completion.d ==> Summary
/usr/local/Cellar/subversion/1.8.10_1: 116 files, 9,4M
It took some seconds to download and compile, but eventually I got:
$ svn --version svn, version 1.7.17 (r1591372) compiled Aug 7 2014, 17:03:25 ...
Uh?
$ which -a svn /usr/bin/svn /usr/local/bin/svn
OK, then I tried editing my ~/.bash_profile:
export PATH="/usr/local/bin:$PATH"
After which I had:
$ source ~/.bash_profile $ svn --version svn, version 1.8.10 (r1615264) compiled Aug 25 2014, 10:57:58 on x86_64-apple-darwin13.3.0 ...
Then I closed PHPStorm and opened it again… But PHPStorm error didn’t go away !!
Then I searched PHPStorm preferences for “svn” and tried forcing/usr/local/bin/svn:
Which immediately made the error disappear:
So I undid the PATH change, just to be sure OSX still sees Subversion 1.7, and all is working fine.
相关文章推荐
- yii2发送邮件教程
- 展讯平台下电容式触摸屏(TP)的移植流程
- OLTP与OLAP比较
- yii2发送邮件教程
- Yii2 常用配置和概念小记
- EditPlus实现文件编码批量转换
- 如何让Editplus不产生bak文件?
- 70-类的原型zend_class_entry
- 60-zend_parse_parameters函数
- WAMP本地环境升级php版本操作步骤(详细)
- Zend Studio 13安装配置及解决方案
- php Warning: Module 'modulename' already loaded in Unknown on line 0
- thinkphp
- 关于win10连接不上ftp的解决方案
- 超好用的7个超实用的PHP函数
- Ubuntu安装matplolib及中文显示
- [PHP]Maximum execution time of 30 seconds exceeded
- php.ini中.注释符号是什么?
- 数据可视化——Matplotlib模块入门(一)
- yii