2009-06-25 106 views
3

我使用git svn來跟蹤SVN回購。當我嘗試做一個git svn rebase我收到此錯誤:Git svn重新啓動失敗

Incomplete data: Delta source ended unexpectedly 

這是一個大的回購協議,具有悠久的歷史。剛拿到原來的單一修訂花了差不多90分鐘,所以我不想回頭。

有什麼方法可以追蹤哪個文件導致錯誤或解決這個問題?

回答

2

這可能類似於SO問題「git svn rebase: Incomplete data: Delta source ended unexpectedly」,因爲它可能與autocrlf option有關。

thread on git mailing list討論了此問題的長度,去年在2008年當時,用戶嘗試:

To fix this situation I take full file content from SVN as next revision. This is dump and slow but it works.

什麼版本的Git(或msysGit)您使用的是?這似乎是一個已知的問題,我不確定它是否已得到確鑿的解決。
但是,首先,您是否在svn到git導入期間進行一些CRLF轉換?

+0

謝謝,將autocrlf設置爲false,然後重新檢出解決了問題。 – Geoff 2009-06-28 23:02:11