jasmine214--love

          只有當(dāng)你的內(nèi)心總是充滿快樂、美好的愿望和寧靜時,你才能擁有強壯的體魄和明朗、快樂或者寧靜的面容。
          posts - 731, comments - 60, trackbacks - 0, articles - 0

          svn switch --relocate 錯誤 The respository at '...' has uuid '...', but the WC has '...'

          使 用svn switch --relocate 改變repository的時候可能遇 到 The respository at '...' has uuid '...', but the WC has '...',這是因為 checkout的svn 跟switch to的svn的uuid不一樣。


          UID是respository創(chuàng)建時自動生成的repo的身份id,SVN 使用UUID判斷是否為同一個repo。


          解決方法,

          1. 重新checkout

          2. 如果本地checkout的和relocate 的repo不是同一個repo,則需要將這兩個repo的uuid設(shè)置為一樣的。當(dāng)然了,這兩個repo應(yīng)該是svnsync出來的鏡像。內(nèi)容完全一致才可以。(當(dāng)時我是export導(dǎo)出原來的庫,然后再import進新庫的,也是可以修改新庫的uuid的;)

             設(shè)置uuid的方法。

             a. 登陸到svn server

             b. svnlook uuid /path/to/your/repo

             c. svnamdin setuuid /path/to/your/repo newuuid

             d. svnlook uuid /path/to/your/repo

          Feedback

          # re: svn switch --relocate 錯誤 The respository at '...' has uuid '...', but the WC has '...'[未登錄]  回復(fù)  更多評論   

          2014-12-24 11:10 by test
          應(yīng)該是 svnadmin
          主站蜘蛛池模板: 疏附县| 碌曲县| 双城市| 龙口市| 湖口县| 汕尾市| 昌吉市| 淮北市| 平和县| 平舆县| 和政县| 思茅市| 玉溪市| 东方市| 新化县| 隆昌县| 兴业县| 安溪县| 阿图什市| 涿鹿县| 镇原县| 丰城市| 和顺县| 耒阳市| 正镶白旗| 临夏县| 建德市| 富源县| 乳山市| 芒康县| 宁阳县| 龙州县| 深泽县| 三门县| 钦州市| 福泉市| 剑川县| 丰原市| 手游| 临城县| 沿河|