解决“git svn checksum mismatch”问题

首先查找问题文件(本例是'EMModuleTXTrade/EMModuleTXTrade/EMCoreTradeClass/EMTXHKTradeInterface/TradeWrapperQJPZConfig.json')最后一次更改信息:

Kevin-Macbook-Pro:iPhone64 macbook$ git svn log EMModuleTXTrade/EMModuleTXTrade/EMCoreTradeClass/EMTXHKTradeInterface/TradeWrapperQJPZConfig.json
r355 | wangwei | 2016-09-30 14:47:36 +0800 (五, 30  9 2016) | 2 lines
电话配置
r344 | wangwei | 2016-09-30 09:58:37 +0800 (五, 30  9 2016) | 2 lines

然后重置到最近一次修改的父节点

Kevin-Macbook-Pro:iPhone64 macbook$ git svn reset -r355 -p
r354 = 48bd8c2b111496cca7fc4f2d24bf2ae67a26f4ea (refs/remotes/git-svn)

最后重新fetch即可

Kevin-Macbook-Pro:iPhone64 macbook$ git svn fetch
类似问题如
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree svn rebase 
Cocoapods/xxxxx/branch/xxx/Classes/xxx.h was not found in commit 46a7b16292399aa3b180f5c6f6295f1422306157 (r7487)

Completed with errors, see above

也可以通过reset来处理

你可能感兴趣的:(解决“git svn checksum mismatch”问题)