我使用git svn一直在使用远程SVN存储库一段时间没有任何问题。前几天,我输入git svn fetch
并得到以下索引不匹配错误。我在this question中尝试了解决方案,但它没有用。
这是错误:
$ git svn fetch
W: Ignoring error from SVN, path probably does not exist: (175002): RA layer request failed: REPORT request failed on '/clients/!svn/bc/50511/foo/devsite': REPORT of '/clients/!svn/bc/50511/foo/devsite': 200 OK (https://svn.example.com)
W: Do not be alarmed at the above message git-svn is just searching aggressively for old history.
This may take a while on large repositories
Index mismatch: 2b1371fbceb67b54e6afb805bcc65483e7eb381a != 99c95d43e7a473492b738ccc1f413911c43f195e
rereading c69879814b55f39121372a395fe15896e749b46a
M trunk/email-landing/landing-looking.html
M trunk/email-landing/landing-nurture.html
A trunk/email-landing/images/register-now-screenshot.png
A trunk/email-landing/images/dark-checkmark.png
A trunk/email-landing/images/logo.jpg
A trunk/email-landing/images/logo.png
M trunk/email-landing/landing-event.html
RA layer request failed: REPORT request failed on '/clients/!svn/vcc/default': REPORT of '/clients/!svn/vcc/default': 200 OK (https://svn.example.com) at C:\Program Files (x86)\Git/libexec/git-core\git-svn line 5653
编辑:我尝试过重新安装cygwin(以及git-svn)。我还尝试通过git svn clone
克隆一个新的存储库 - 同样的错误。
答案 0 :(得分:1)
尽管重新安装,您的配置文件仍可能保持不变。检查.gitconfig文件并查找subversion路径中的错误。还要确保.gitconfig中的“fetch”参数指向正确的分支。
此外,通过git-svn文件中的错误..第5653行:
($ full_url = ~m#^ https?://#&&
所以,错误必须在svn url中。