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

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容