原因:版本问题,新版和公司的svn仓库不兼容
!!不要使用homebrew安装最新版svn
安装方式1:
可以试试我当初的安装方式,去https://www.versionsapp.com/
下载客户端,在里面安装好svn命令行工具就好了.
安装方式2:
- 这是我现在在用的版本,是用方式1下载安装的,不知道后面软件安装的版本会不会升级,所以保留一个手动安装的方法,将svn可执行文件下载下来移动到
/usr/local/bin/svn
路径就好了. - 下载链接:
链接: https://pan.baidu.com/s/1UqmGZyDgvSOmZdo9SdqI5Q?pwd=xgyj 提取码: xgyj
--来自百度网盘超级会员v5的分享
svn, version 1.14.1 (r1886195)
compiled Jan 19 2022, 16:04:21 on arm-apple-darwin21.3.0
Copyright (C) 2021 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository access (RA) modules are available:
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- using serf 1.3.9 (compiled with 1.3.9)
- handles 'http' scheme
- handles 'https' scheme
The following authentication credential caches are available:
* GPG-Agent
* Mac OS X Keychain
验证:
到任意一个svn项目下终端执行
svn log
会提示身份验证等选项,填写完毕后即可正常通过svn进行版本管理