[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Checksum mismatch error during large commit

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-03-23 21:23:50 CET

On Tue, 2004-03-23 at 14:09, David Haas wrote:
> > >
> > > dhaas@DHLAPTOP ~/work/cftest
> > > $ svn commit
> > > Sending INCLUDE/ipv4/lwip/ip.h
> > > Transmitting file data .svn: Commit failed (details follow):
> > > svn: Base checksum mismatch on '/firmware/trunk/INCLUDE/ipv4/lwip/ip.h':
> > > expected: 0ada54bb41cb4b0948d15363dec0ec96
> > > actual: 91ae6cae89338ae23926f4a0a2aca987
> >
> > Um... has .svn/text-base/ip.h.svn-base changed somehow?
> no, when I check the dump file of the repository the checksum is:
> 91ae6cae89338ae23926f4a0a2aca987
> >
> > What is its md5sum?
> $ md5sum include/ipv4/lwip/.svn/text-base/ip.h.svn-base
> 91ae6cae89338ae23926f4a0a2aca987

So it looks like the "expected" checksum of the file, which is recorded
in .svn/entries/, is completely wrong.

> >
> > Does 'svn diff' show weird diffs, not what you expected?
> >
> Ah, now this is interesting. See the following:
> $ svn diff INCLUDE/ipv4/lwip/ip.h
> svn: Failed to read file 'INCLUDE/ipv4/lwip/.svn/text-base/ip.h.svn-base':
> End of file found

Is there a permissions problem? Why can't svn read the text-base file?

>
> > Is the contents of .svn/text-base/ip.h.svn-base different than what you
> > get if you simply "svn cat URL", where URL is the url of ip.h?
> >
> $ svn cat svn://192.168.10.252/cfimage/firmware/trunk/INCLUDE/ipv4/lwip/ip.h
> >
> ip.h.temp
>
> dhaas@DHLAPTOP ~/work/cftest
> $ diff INCLUDE/ipv4/lwip/.svn/text-base/ip.h.svn-base ip.h.temp
>
> dhaas@DHLAPTOP ~/work/cftest
> $
>
> So apparently not.

It looks to me like somehow either (a) your entries file is messed up
somehow (recording a wrong checksum for the text-base file), or (b)
there's a permissions problem reading the text-base file.

This is very odd...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 23 21:24:08 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.