[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: David Haas <dhaas_at_nbstech.com>
Date: 2004-03-23 21:09:31 CET

> >
> > 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
*include/ipv4/lwip/.svn/text-base/ip.h.svn-base
>
> 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

$ diff INCLUDE/ipv4/lwip/.svn/text-base/ip.h.svn-base INCLUDE/ipv4/lwip/ip.h
30c30
< *

---
>  *   Just change a comment
So the regular diff works and can read the file no problem. What's wrong
with svn diff ????
> 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.
>
---------------------------------------------------------------------
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:10:42 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.