You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mike Mason <mg...@thoughtworks.net> on 2004/01/26 16:40:52 UTC

Checksum mismatch on my client vs svn.collab.net

I've not updated my Subversion tree for a while, and today I got a 
checksum mismatch on a text-base file. My plan is to just delete the 
offending directory and re-check out, but I wanted to log it here just 
in case it was a sign the Subversion repo was hosed:

U  subversion\clients\cmdline\ls-cmd.c
U  subversion\clients\cmdline\blame-cmd.c
U  subversion\clients\cmdline\propget-cmd.c
U  subversion\clients\cmdline\prompt.c
svn: Checksum mismatch for 
'subversion/clients/cmdline/.svn/text-base/log-cmd.c.svn-base'; 
recorded: '2047bf0b5e8dd1367d0440890316f589', actual: 
'4a303b8e5ba6cbd2cd9ed1e440dc6256'

C:\isvn\tigris.org\subversion>svn --version
svn, version 0.35.1 (r8050)
   compiled Dec 21 2003, 07:34:35

Copyright (C) 2000-2003 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' schema
  - handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' schema


C:\isvn\tigris.org\subversion>svn cleanup

C:\isvn\tigris.org\subversion>svn up
svn: Checksum mismatch for 
'subversion/clients/cmdline/.svn/text-base/log-cmd.c.svn-base'; 
recorded: '2047bf0b5e8dd1367d0440890316f589', actual: 
'4a303b8e5ba6cbd2cd9ed1e440dc6256'


Any suggestions before I nuke clients/cmdline and do another update? 
(This isn't urgent, I just wanted to look at the javahl bindings).

Cheers,
Mike.

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

Re: Checksum mismatch on my client vs svn.collab.net

Posted by kf...@collab.net.
Mike Mason <mg...@thoughtworks.net> writes:
> Ah, sorry! The text-base file that Subversion didn't like seems to
> have a bunch of binary crud at the bottom of it, along with other
> differences that are probably legit -- I had an old version. I've
> attached a gzip of the text-base-with-binary-crud, in case it's useful
> to anyone. I think I'll be putting this down to solar flares and
> Windows...

I looked -- whoa, that's some crud, and I have no explanation.  Might
be Subversion, might be cosmic rays... :-(

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

Re: Checksum mismatch on my client vs svn.collab.net

Posted by Philip Martin <ph...@codematters.co.uk>.
Mike Mason <mg...@thoughtworks.net> writes:

> Ah, sorry! The text-base file that Subversion didn't like seems to
> have a bunch of binary crud at the bottom of it, along with other
> differences that are probably legit -- I had an old version. I've
> attached a gzip of the text-base-with-binary-crud, in case it's useful
> to anyone. I think I'll be putting this down to solar flares and
> Windows...

The checksum indicates that you had r7959. The corrupted file is the
same size as the r7959 original but part of it has been overwritten.
The corrupt data contains some readable strings, namely:

   MinWanEndpoints
   InfPath
   EnableForOutboundRouting
   MaxWanEndpoints
   WanEndpoints
   Characteristics
   ComponentIdj
   InfSection
   ProviderName
   DriverVersion1
   DriverDateData
   DriverDate
   DriverDesc
   MatchingDeviceId
   EnableForRask

Google tells me that those are likely to be related to Windows
registry settings.

-- 
Philip Martin

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

Re: Checksum mismatch on my client vs svn.collab.net

Posted by Mike Mason <mg...@thoughtworks.net>.
kfogel@collab.net wrote:

> I was more thinking the *actual* difference -- that is, what is the
>
>content, and how does it differ from the correct content?
>  
>

Ah, sorry! The text-base file that Subversion didn't like seems to have 
a bunch of binary crud at the bottom of it, along with other differences 
that are probably legit -- I had an old version. I've attached a gzip of 
the text-base-with-binary-crud, in case it's useful to anyone. I think 
I'll be putting this down to solar flares and Windows...

Cheers,
Mike. <ci...@thoughtworks.net>

Re: Checksum mismatch on my client vs svn.collab.net

Posted by kf...@collab.net.
Mike Mason <mg...@thoughtworks.net> writes:
> >I'd say, save that old working copy, and when you get the new one,
> >compare the text bases and/or working files, see if you can spot the
> >difference, and let us know what it was.
>
> I ran md5sum over all the files, and the one it was complaining about
> is indeed different, but then lots of the md5s had changed. After
> removing the cmdline directory, my update succeeded. Am attaching the
> list of md5s in case it's useful to anyone. The "broken" set is what
> "svn update" was complaining about, and "working" set is what I got
> after moving the cmdline directory out of the way and updating to head.

I was more thinking the *actual* difference -- that is, what is the
content, and how does it differ from the correct content?


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

Re: Checksum mismatch on my client vs svn.collab.net

Posted by Mike Mason <mg...@thoughtworks.net>.
kfogel@collab.net wrote:

>Thanks.  It depends on what "a while" means.  At one point, a long
>time ago, we had some bugs that could cause this.  If your working
>copy is that old, it might have those bugs.  I'm hard put to construct
>a concrete scenario off the top of my head, though.
>  
>
I think I've updated in the last couple of months or so, and the oldest 
client I've ever used is 0.30.

>I'd say, save that old working copy, and when you get the new one,
>compare the text bases and/or working files, see if you can spot the
>difference, and let us know what it was.
>  
>
I ran md5sum over all the files, and the one it was complaining about is 
indeed different, but then lots of the md5s had changed. After removing 
the cmdline directory, my update succeeded. Am attaching the list of 
md5s in case it's useful to anyone. The "broken" set is what "svn 
update" was complaining about, and "working" set is what I got after 
moving the cmdline directory out of the way and updating to head.

Cheers,
Mike.


Re: Checksum mismatch on my client vs svn.collab.net

Posted by kf...@collab.net.
Thanks.  It depends on what "a while" means.  At one point, a long
time ago, we had some bugs that could cause this.  If your working
copy is that old, it might have those bugs.  I'm hard put to construct
a concrete scenario off the top of my head, though.

I'd say, save that old working copy, and when you get the new one,
compare the text bases and/or working files, see if you can spot the
difference, and let us know what it was.

-Karl

Mike Mason <mg...@thoughtworks.net> writes:
> I've not updated my Subversion tree for a while, and today I got a
> checksum mismatch on a text-base file. My plan is to just delete the
> offending directory and re-check out, but I wanted to log it here just
> in case it was a sign the Subversion repo was hosed:
> 
> U  subversion\clients\cmdline\ls-cmd.c
> U  subversion\clients\cmdline\blame-cmd.c
> U  subversion\clients\cmdline\propget-cmd.c
> U  subversion\clients\cmdline\prompt.c
> svn: Checksum mismatch for
> 'subversion/clients/cmdline/.svn/text-base/log-cmd.c.svn-base';
> recorded: '2047bf0b5e8dd1367d0440890316f589', actual:
> '4a303b8e5ba6cbd2cd9ed1e440dc6256'
> 
> C:\isvn\tigris.org\subversion>svn --version
> svn, version 0.35.1 (r8050)
>    compiled Dec 21 2003, 07:34:35
> 
> Copyright (C) 2000-2003 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
> 
> The following repository access (RA) modules are available:
> 
> * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
>   - handles 'http' schema
>   - handles 'https' schema
> * ra_local : Module for accessing a repository on local disk.
>   - handles 'file' schema
> * ra_svn : Module for accessing a repository using the svn network protocol.
>   - handles 'svn' schema
> 
> 
> C:\isvn\tigris.org\subversion>svn cleanup
> 
> C:\isvn\tigris.org\subversion>svn up
> svn: Checksum mismatch for
> 'subversion/clients/cmdline/.svn/text-base/log-cmd.c.svn-base';
> recorded: '2047bf0b5e8dd1367d0440890316f589', actual:
> '4a303b8e5ba6cbd2cd9ed1e440dc6256'
> 
> 
> Any suggestions before I nuke clients/cmdline and do another update?
> (This isn't urgent, I just wanted to look at the javahl bindings).
> 
> Cheers,
> Mike.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

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