希望這不是一個dup,我沒有找到關於如何更新git-svn repo的簡明信息。我用git svn clone將SVN回購導入git。然後,在做了一些提交之後,我想重新考慮原始SVN回購。更新/更新git-svn存儲庫時出錯
C:\Work\osqa>git svn rebase
Migrating from a git-svn v1 layout...
Data from a previous version of git-svn exists, but
.git/svn
(required for this version (1.7.3.1.msysgit.0) of git-svn) does not exis
t.
Done migrating from a git-svn v1 layout
forum/views/readers.py: needs update
update-index --refresh: command returned error: 1
當我重複混帳SVN變基命令第二次,我得到的最後消息的只是尾巴:
C:\Work\osqa>git svn rebase
forum/views/readers.py: needs update
update-index --refresh: command returned error: 1
我不知道該錯誤消息意味着什麼。你能幫助解決它嗎?
基本上,「沒有更改添加到提交」。 http://pastebin.com/FyDHczB2 – ripper234 2011-03-20 09:56:39
是的,但是你對它抱怨的文件沒有任何改變。提交或存儲它們並重試。 – Ilkka 2011-03-20 10:03:14
確實是(問題的一部分)問題。我剛剛意識到,git-svn不會保留其元數據。我想我一直在研究一個根本沒有SVN元數據的新副本。 http://stackoverflow.com/questions/5368819/is-there-a-way-to-persistently-synchronize-a-git-repository-with-svn – ripper234 2011-03-20 14:30:53