希望这不是一个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