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
搞定。

    原文作者:二月惊蛰
    原文地址: https://www.jianshu.com/p/d3fedaabd451
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞