Re: svn clone Checksum mismatch question
From: Anton Gyllenberg <hidden>
Date: 2016-06-15 22:46:29
I hope I didn't hijack the thread with an unrelated issue. 2009/3/26 Anton Gyllenberg [off-list ref]:
I don't know if this is the same issue, but the I get a similar error on the public twisted-python repository on both windows and linux, with several different versions and plenty of free disk space. As this is a publicly accessible repository it should be easy to reproduce: git svn init -s svn://svn.twistedmatrix.com/svn/Twisted twisted cd twisted git svn fetch -r 13611:HEAD This ultimately dies with the following error: W: +empty_dir: trunk/doc/core/howto/listings/finger/finger r13612 = f6d995ac255e3dfa08a517a6e72fbcfe63feaaa0 (trunk) Checksum mismatch: branches/foom/--omg-optimized/twisted/internet/cdefer/cdefer.pyx 264b0c5f7b3a00d401d1a5dcce67a3734f0eede3 expected: c7ccddd195f132926e20bab573da7ef3 got: f006323ff4714ca52c0228ce6390d415
Looking into this, the mentioned blob 264b0c5f7b3a00d401d1a5dcce67a3734f0eede3 with md5sum f006323ff4714ca52c0228ce6390d415 is not at path branches/foom/--omg-optimized/twisted/internet/cdefer/cdefer.pyx. The contents of the blob is the seemingly totally unrelated LICENSE file that is found at trunk/LICENSE and branches/foom/--omg-optimized/LICENSE. cdefer.pyx does have the md5sum c7ccddd195f132926e20bab573da7ef3. Note that the branch root directory is branches/foom/--omg-optimized (like with the branch name being foom/--omg-optimized), not just branches/foom. Is think git-svn relies on the standard layout being branches directly under the branches/ directory, but I don't see how this would get the paths mixed up like this. Looking at what was done around this commit one finds odd stuff, like deleting directories in trunk and then copying from a previous revision of trunk to under the branch: http://twistedmatrix.com/trac/changeset/13611 I created a local test svn repository and tried to do something similar but git-svn had no problem with my test. This is issue is not critical for me in any way but if somebody wants to look into it I am happy to help out. Anton