windows svn post-commit 報錯解決 error resolving case

來源:互聯網
上載者:User

標籤:res   更新   提交   apache   避免   com   checkout   地址   區域網路   

在svn倉庫目錄下有個hooks目錄,下面建一個 post-commit.cmd 檔案,有代碼提交到倉庫,自動checkout到指定目錄。 @echo on
SET REPOS=%1
SET USER=%2
SET SVN="C:/Program Files/VisualSVN Server/bin/svn.exe"
SET DIR="D:/webroot"
(call %SVN% update %DIR% --username root --password root --non-interactive) 注意,路徑中的反斜線  D:\webroot 要改成正斜線  D:/webrootSVN = "C:/Program Files/VisualSVN Server/bin/svn.exe" 是 svn伺服器程式的實際位置。  

 


 建立倉庫之後,按那樣設定svn name地址。改成本機區域網路ip,連接埠改成8080或者其他,避免和Apache等應用連接埠衝突。如果需要設定post-commit鉤子自動更新代碼,不要勾選HTTPS,試過勾選,由於認證問題,無法執行post-commit 參考了:https://www.tomred.net/devops/svn-error-resolving-case.html 
 

windows svn post-commit 報錯解決 error resolving case

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.