终端报错:is too old (format 29) to work with client version '1.9.4 (r1740329)' (expects format 31). Y...

1,终端报错:is too old (format 29) to work with client version '1.9.4 (r1740329)' (expects format 31). You need to upgrade the working copy first.

解决办法,cd到svn相应的文件项目,然后执行命令:svn up

等up完成了,以后,使用svn ls查看有那些多余的svn文件,然后把它删除,执行命令:删除某个文件:svn delete xxxxx(文件名),

如果想一次删除所有svn文件:则执行:find . -type d -name ".svn"|xargs rm -rf   


2,你在用终端执行svn命令时报如下错误:

xcrun: error: active developer path ("/Volumes/MacX.cn/Xcode.app/Contents/Developer") does not exist, use xcode-select to change、

解决:终端输入命令:sudoxcode-select-switch /Applications/Xcode.app/Contents/Developer


3,mac 终端下使用svn命令,但不能使用:

可以用vim,nano,或者其他类似的工具。

这里用nano来打开,在终端敲入 sudo nano /etc/paths。会提示你输入密码,打开后在最后一行敲回车,加入上面xcode的路径:

/Applications/Xcode.app/Contents/Developer/usr/bin  如下图:

原因:svn升级过或者xcode装有多个,或者升级过,所以找不到执行命令工具

你可能感兴趣的:(终端报错:is too old (format 29) to work with client version '1.9.4 (r1740329)' (expects format 31). Y...)