You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by François Beausoleil <fb...@ftml.net> on 2005/06/03 14:26:11 UTC

"Checksum mismatch" error is misleading

Hi !

I wanted to check some info in Collab.net's SVN repository.  So I ran a 
few commands (see transcript at end).  Some commands were reporting:

svn: Checksum mismatch for 'www/project_links.html':
    expected checksum:  172bd0af443f52453d9e1560d6cd403e
    actual checksum:    6c9a23c8b535dc7cbb1ba90b5da81881

At first, I thought the checksum mismatch was in Subversion's own 
repository.  Then I had the idea of trying to use https, and then things 
went fine.

This error message should say where the error occured - network or fs 
backend or wc.  Those are the three places where it can occur, if I 
remember correctly, right ?

Thanks !
François

Transcript
==========

$ svn log -r14913 http://svn.collab.net/repos/svn/trunk
------------------------------------------------------------------------
r14913 | kfogel | 2005-06-01 11:52:46 -0400 (mer., 01 juin 2005) | 2 lines

* www/project_links.html: Format in the New Received Style.

------------------------------------------------------------------------

$ svn diff -r14912:14913 http://svn.collab.net/repos/svn/trunk | more
svn: Checksum mismatch for 'www/project_links.html':
    expected checksum:  172bd0af443f52453d9e1560d6cd403e
    actual checksum:    6c9a23c8b535dc7cbb1ba90b5da81881

$ svn log -v -r14912:14913 http://svn.collab.net/repos/svn/trunk
------------------------------------------------------------------------
r14912 | kfogel | 2005-06-01 11:44:21 -0400 (mer., 01 juin 2005) | 4 lines
Changed paths:
    M /trunk/www/project_tasks.html

* www/project_tasks.html
   (bindings): Link to the list of bindings, and stop speculating that
   PHP bindings are nonexistent, since they do exist.

------------------------------------------------------------------------
r14913 | kfogel | 2005-06-01 11:52:46 -0400 (mer., 01 juin 2005) | 2 lines
Changed paths:
    M /trunk/www/project_links.html

* www/project_links.html: Format in the New Received Style.

------------------------------------------------------------------------

$ svn cat -r14913 
http://svn.collab.net/repos/svn/trunk/www/project_links.html | more
svn: Checksum mismatch for '':
    expected checksum:  2b90b6fb1b92de61469df20a7fbe7bce
    actual checksum:    603f39bb1d673d68bf353d9d703f02e9

$ svn cat -r14913 
https://svn.collab.net/repos/svn/trunk/www/project_links.html | more
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
...

$ svn --version
svn, version 1.2.0 (r14790)
    compiled May 22 2005, 22:40:26

System:  WinXP SP2 Pro (fr-ca).



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: "Checksum mismatch" error is misleading

Posted by David James <ja...@gmail.com>.
On 6/3/05, François Beausoleil <fb...@ftml.net> wrote:
> I'm on Windows, and I don't have access to MS Visual Studio...
Hi Francois,

You may be interested to know that Microsoft is giving away free
copies of Visual C++ Express Edition Beta 2 on their website. Has
anyone tried compiling Subversion with this?

  http://lab.msdn.microsoft.com/express/visualc/default.aspx

Cheers,

David

-- 
http://www.cs.toronto.edu/~james

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: "Checksum mismatch" error is misleading

Posted by François Beausoleil <fb...@ftml.net>.

kfogel@collab.net said the following on 2005-06-03 15:03:
>>This error message should say where the error occured - network or fs
>>backend or wc.  Those are the three places where it can occur, if I
>>remember correctly, right ?
> 
> 
> Yes, that would be ideal.  If you build Subversion with debugging, it
> will give you the place in source where the error occurred, which is
> usually a big help.  Have you tried that?

I'm on Windows, and I don't have access to MS Visual Studio...

Thanks for the reply.
François


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: "Checksum mismatch" error is misleading

Posted by kf...@collab.net.
It sounds like you are having some local network or memory corruption
problems.  I can run these commands just fine:

  svn cat -r14913 http://svn.collab.net/repos/svn/trunk/www/project_links.html
  svn diff -r14912:14913 http://svn.collab.net/repos/svn/trunk

The output is as expected for me.

> I wanted to check some info in Collab.net's SVN repository.  So I ran
> a few commands (see transcript at end).  Some commands were reporting:
> 
> svn: Checksum mismatch for 'www/project_links.html':
>     expected checksum:  172bd0af443f52453d9e1560d6cd403e
>     actual checksum:    6c9a23c8b535dc7cbb1ba90b5da81881
> 
> At first, I thought the checksum mismatch was in Subversion's own
> repository.  Then I had the idea of trying to use https, and then
> things went fine.
> 
> This error message should say where the error occured - network or fs
> backend or wc.  Those are the three places where it can occur, if I
> remember correctly, right ?

Yes, that would be ideal.  If you build Subversion with debugging, it
will give you the place in source where the error occurred, which is
usually a big help.  Have you tried that?

-Karl

> Transcript
> ==========
> 
> $ svn log -r14913 http://svn.collab.net/repos/svn/trunk
> ------------------------------------------------------------------------
> r14913 | kfogel | 2005-06-01 11:52:46 -0400 (mer., 01 juin 2005) | 2 lines
> 
> * www/project_links.html: Format in the New Received Style.
> 
> ------------------------------------------------------------------------
> 
> $ svn diff -r14912:14913 http://svn.collab.net/repos/svn/trunk | more
> svn: Checksum mismatch for 'www/project_links.html':
>     expected checksum:  172bd0af443f52453d9e1560d6cd403e
>     actual checksum:    6c9a23c8b535dc7cbb1ba90b5da81881
> 
> $ svn log -v -r14912:14913 http://svn.collab.net/repos/svn/trunk
> ------------------------------------------------------------------------
> r14912 | kfogel | 2005-06-01 11:44:21 -0400 (mer., 01 juin 2005) | 4 lines
> Changed paths:
>     M /trunk/www/project_tasks.html
> 
> * www/project_tasks.html
>    (bindings): Link to the list of bindings, and stop speculating that
>    PHP bindings are nonexistent, since they do exist.
> 
> ------------------------------------------------------------------------
> r14913 | kfogel | 2005-06-01 11:52:46 -0400 (mer., 01 juin 2005) | 2 lines
> Changed paths:
>     M /trunk/www/project_links.html
> 
> * www/project_links.html: Format in the New Received Style.
> 
> ------------------------------------------------------------------------
> 
> $ svn cat -r14913
> http://svn.collab.net/repos/svn/trunk/www/project_links.html | more
> svn: Checksum mismatch for '':
>     expected checksum:  2b90b6fb1b92de61469df20a7fbe7bce
>     actual checksum:    603f39bb1d673d68bf353d9d703f02e9
> 
> $ svn cat -r14913
> https://svn.collab.net/repos/svn/trunk/www/project_links.html | more
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> ...
> 
> $ svn --version
> svn, version 1.2.0 (r14790)
>     compiled May 22 2005, 22:40:26
> 
> System:  WinXP SP2 Pro (fr-ca).
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org