本文共 527 字,大约阅读时间需要 1 分钟。
當 svn 主機 IP 更動,或者更換網址,底下 Client 端的工作版本就無法依據之前的 Check out 網址更新,以下針對在 Windows 的 TortoisesSVN 以及 Linux 底下的 svn 分別說明實際處理方式. 1 Windows 的 TortoisesSVN 這部份很簡單,直接選用 TortoisesSVN 選單內的 Relocate 來更改 2 Linux 的 svn 如果使用 Linux 的 svn 命令列方式,則採用 svn switch 命令語法 例如: /home/trybox/trybox_source 內原本 Check Out 的 SVN 來源是 希望更改成正確的 SVN 網址 以下是實際執行程序 cd /home/trybox/trybox_source svn cleanup svn switch --relocate http://61.67.71.95/repos/trybox/Source http://tryboxap1.ichiayi.com/repos/trybox/Source . 【转载自】http://www.ichiayi.com/wiki/tech/svnswitch