svn relocate 命令

用cornerStone的时候提交是报错 403

Description : You are not authorized to access the files in the repository.
Suggestion : You might be required to provide a user name and password when prompted before being allowed to access the repository.
Technical Information
=====================
Error : V4AuthorizationError
Exception : ZSVNAuthorizationException
Causal Information
==================
Description : Commit failed (details follow):
Status : 175013
Description : POST of '/svn/${project}/!svn/me': 403 Forbidden (http://svnhz.company.net)
Status : 175013

先考虑是不是权限到期,确认权限没有问题之后考虑是svn的问题,在网上查了下,需要relocate。
首先到svn项目根目录下
svn info
查看当前目录的svn地址 url,确认没有问题。
之后命令
svn switch --relocate url url
搞定。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容