Re: [問題] svn 更換 repo 的 location

看板Linux作者 (tan2)時間17年前 (2009/02/25 03:57), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/4 (看更多)
※ 引述《Reinhard (無價)》之銘言: : 想請問一下 svn 當中該如何更換 repository 的 location 呢? : 假設我原本是用遠端連線的 A 主機 現在想改用 B 主機 : 所以我下: : svn switch --relocate svn+ssh://a.host svn+ssh://another.host : 卻出現了下列 error msg: : svn: The repository at 'svn+ssh://another.host' has uuid : 'cff2378d-b94c-4axx-ad24-b72cb1118595', but the WC has : 'd2ba7d38-6098-44xx-9aab-4b219081204c' : 接著再打 svn info 發現 repo 的位置並沒換掉 : 請問是什麼問題呢? In short, you can't use 'svn switch' to migrate between different repositories. You will need to checkout a new copy using 'svn co svn+ssh://another.host/path/to/repo' The reason can be found in the subversion mailing list: http://tinyurl.com/dmrhfu -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 69.234.142.207
文章代碼(AID): #19f54EK3 (Linux)
討論串 (同標題文章)
文章代碼(AID): #19f54EK3 (Linux)