{"thread":{"id":"22712","subject":"git-svn checksum mismatch","startedAt":"2010-02-18T14:55:30Z","lastAt":"2010-02-18T23:08:12Z","messageCount":2,"participants":["Jason Baker","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"134972","messageId":"fa34f1941002180655n79430e79yc8658ce17e4e1093@mail.gmail.com","threadId":"22712","inReplyTo":"fa34f1941002180652wb91c36bt8feba5c7f653701d@mail.gmail.com","subject":"git-svn checksum mismatch","fromName":"Jason Baker","fromEmail":"jbaker@zeomega.com","sentAt":"2010-02-18T14:55:30Z","receivedAt":"2010-02-18T14:55:30Z","isPatch":false,"sender":{"key":"jbaker@zeomega.com","avatar":null},"body":"On Wed, Feb 17, 2010 at 6:53 PM, Eric Wong <normalperson@yhbt.net> wrote:\n>\n> Jason Baker <jbaker@zeomega.com> wrote:\n> > Hey Eric,\n> >\n> > I'm emailing you because you're listed on the git-svn manpage.  I'm trying\n> > to import an svn repository using git svn, and I'm running into a bit of a\n> > problem:\n> >\n> > r57269 = f5bbaec2f7e8d866d794b421f68706baf81b16ec\n> > (jiva_model_0.6-Jiva-4.5.0)\n> >     M    src/jiva_model/schema/episode.py\n> >     M    src/jiva_model/schema/group.py\n> > Checksum mismatch: src/jiva_model/schema/member.py\n> > expected: d6f1b614f3ec9c757ab21ebdfd01e011\n> >     got: a90dbcbdb3082deadecca9d1d00879bd\n> >\n> > I'm running git version 1.6.3.3 and git-svn version 1.6.3.3-2 on Ubuntu\n> > Karmic.\n> >\n> > I'm able to check out these files at this revision normally through svn.\n> > Does this mean that there's a problem somewhere in git svn?  Or do I need to\n> > do something more complex to reproduce it outside of git svn?  It is\n> > entirely possible that something's wrong with our svn repository.\n>\n> Hi Jason,\n>\n> It could be a problem with either the repo or git svn.  Is the repo\n> public by any chance?  If it's a smallish repo I'd be glad to try\n> reproducing it on my end.\n\nNope, it's a private repo and it's rather largeish.\n\n>\n> The checksum SVN relies on is just an MD5, so it should be easy to\n> test arbitrary revisions of it (svn cat -r$rev $URL@$rev | md5sum)\n> and see if there's an error for that repository.\n\nThis gives me something different from either value.  :-/\n\n$ svn cat -r57269\n$URL/jiva_model_0.6-Jiva-4.5.0/src/jiva_model/schema/member.py@57269 |\nmd5sum\nb5a6b9473d602027b1fe9b5b9d993cc0  -\n\n (URL being the path to the root of the repo of course)\n\n>\n> You could also try updating between two revisions:\n>\n>  svn co -r57269 $URL FOO # (57269 was the last successful one)\n>\n>  cd FOO\n>  svn up -r$NEXT_REV      # see if this errors out\n\nThis works:\n\n$ svn co $URL/branches/jiva_model_0.6-Jiva-4.5.0/src/jiva_model/schema/\n-r 57269\nChecked out revision 57269.\n\n$ cd schema\n\n$ svn up -r 57270\nAt revision 57270.\n\nSo does this mean there's a problem on my side somewhere?\n\n>\n> > Also, is there a mailing list I should send questions like this to?\n>\n> The normal git mailing list, git@vger.kernel.org, but feel free to Cc me\n> to increase my chances of seeing it.\n\nAdded that list to this email.  Thanks!\n"},{"id":"135021","messageId":"20100218230812.GA20034@dcvr.yhbt.net","threadId":"22712","inReplyTo":"fa34f1941002180652wb91c36bt8feba5c7f653701d@mail.gmail.com","subject":"Re: git-svn checksum mismatch","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2010-02-18T23:08:12Z","receivedAt":"2010-02-18T23:08:12Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Jason Baker <jbaker@zeomega.com> wrote:\n> This works:\n> \n> $ svn co $URL/branches/jiva_model_0.6-Jiva-4.5.0/src/jiva_model/schema/ -r\n> 57269\n> Checked out revision 57269.\n> \n> $ cd schema\n> \n> $ svn up -r 57270\n> At revision 57270.\n> \n> So does this mean there's a problem on my side somewhere?\n\nDid r57270 change anything at all in the directories you're tracking?\nYou might need to step the revision up to the next one you're\ntracking...\n\nNot sure what else could be the cause...  Did you run out of disk space\nor encounter any hardware failures at any time during the fetches?\n\n-- \nEric Wong\n"}]}