背景:
- SVN服务器:VisualSVN-Server-2.5.5;
- SVN客户端:TortoiseSVN-1.7.6.22632-x64-svn-1.7.4.msi;
- 在SVN服务器上,新建一个数据仓库aaa,用户ABC拥有读写权限。
现象:
- 在checkout数据仓库aaa时,出现如下错误:
Unable to connect to a repository at URL" alt="">
Error Unable to connect to a repository at URL ‘https://172.18.0.254:861/svn/aaa’
Error Access to ‘https://172.18.0.254:861/svn/aaa ‘ forbidden
- 比较诡异的是,在Web页面上访问数据仓库aaa,是成功的;
- 如果说SVN服务器有问题,可是checkout其它早就存在的数据仓库,也是成功的。
解决方案:
在网上搜了好多资料,都没法解决,折腾了我一下午,跟同事抱怨这破SVN时,同事说了句,是不是缓存问题啊,顿时眼前一亮,马上进行如下操作:
- 右键点击本地副本,TortoiseSVN -> Settings -> Saved Data,
Unable to connect to a repository at URL" alt="">
- 点击个个“Clear”按钮,把本地缓存都清除了,点击“确定”;
- 再重新checkout,大功告成!哦耶!