我們最近將SVN服務器從一個數據中心移到另一個數據中心,服務器的IP已經改變。我用svn switch --relocate old_url new_url
來更新我的實際工作副本,這很高興。然而,我在本地git版本的倉庫中完成了大部分工作(顯然,使用git-svn)。移動SVN服務器後,我更新爲.git/config
回購的URL,但是當我嘗試使用dcommit
,我收到此錯誤:SVN倉庫移動後的git-svn?
Unable to determine upstream SVN information from HEAD history.
Perhaps the repository is empty. at /home/me/libexec/git-core/git-svn line 520.
我缺少什麼?
謝謝。我擔心情況會如此,但我並不擔心失去工作。重新導入SVN內容後,我總是可以拉入分支。 – codekoala 2011-01-14 19:51:09