1. Can't create session: Unable to connect to a repository at URL 'svn://***/kpi' at D:/Program Files/Git/mingw64/share/perl5/Git/SVN.pm line 148
命令:
git svn clone svn://<ip>/kpi/ --username=wyj --trunk=trunk --branches=branches --tags=tag --authors-file=userinfo.txt --no-metadata --no-minimize-url kpi
解决:
- 升级svn到最新 --- 无用
- 将svn改成http协议 --- 无用
最后发现是之前改过svn的加密方式,配置成了sasl加密,导致无法链接(真想抽我俩嘴巴子),改回到之前的配置方式后,就能正常链接了
2. Author: wyj not defined in userinfo.txt file
这个简单,userinfo.txt文件里面格式不对
wyj=wangyj<wangyj@xxx.com>
第一个问题搜遍全网没解决,差点放弃。。希望能给后面遇到的兄弟姐妹一些帮助哈哈
文章描述了在使用GitSVN克隆仓库时遇到的两个问题:一是由于SVN加密方式改变导致的连接失败,二是userinfo.txt文件中的作者格式不正确。通过恢复SVN的原始配置和修正userinfo.txt格式,问题得到了解决。提醒读者在遇到类似问题时检查配置和文件格式。
255

被折叠的 条评论
为什么被折叠?



