You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Rick Apichairuk <ra...@gmail.com> on 2005/03/20 03:44:37 UTC

Checksum mismatch

I recently got an error while using subversion.

This first happened when I tried to commit a change. 

[ user@machine ] svn commit -m "changed menu items" sidenav.html
Sending        sidenav.html
Transmitting file data .svn: Commit failed (details follow):
svn: Checksum mismatch for resulting fulltext
(/trunk/htdocs/secure/sidenav.html):
   expected checksum:  3fb87063c392591bb1aac42ab7cc0210
   actual checksum:    d67a322cc96601869559e432f89cd6a1

svn: Your commit message was left in a temporary file:
svn:    '/data/projects/logicmerc.com/trunk/htdocs/secure/svn-commit.2.tmp

I tried searching for internet for information on this type of error
and found a couple of threads on the subversion mailing lists. One of
the threads contained a recommendation to use svnadmin verify...

[ user@machine ] $ svnadmin verify /path/to/my/repository
* Verified revision 0.
svn: Checksum mismatch on rep '0':
   expected:  288dc2217964c3cd0c8ac3449c091e87
     actual:  1f1ab77ea562128cfc91f6bc764731e6

It seems like the repository is corrupted at revision 0.

1. What causes this error and why does it happen?
2. Can I prevent it from happening again?
3. Is there anyway for me to recover from this situation?

Thanks,

Rick

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

Re: Checksum mismatch

Posted by Max Bowsher <ma...@ukf.net>.
Rick Apichairuk wrote:
> I recently got an error while using subversion.
>
> This first happened when I tried to commit a change.
>
> [ user@machine ] svn commit -m "changed menu items" sidenav.html
> Sending        sidenav.html
> Transmitting file data .svn: Commit failed (details follow):
> svn: Checksum mismatch for resulting fulltext
> (/trunk/htdocs/secure/sidenav.html):
>   expected checksum:  3fb87063c392591bb1aac42ab7cc0210
>   actual checksum:    d67a322cc96601869559e432f89cd6a1
>
> svn: Your commit message was left in a temporary file:
> svn:
> '/data/projects/logicmerc.com/trunk/htdocs/secure/svn-commit.2.tmp
>
> I tried searching for internet for information on this type of error
> and found a couple of threads on the subversion mailing lists. One of
> the threads contained a recommendation to use svnadmin verify...
>
> [ user@machine ] $ svnadmin verify /path/to/my/repository
> * Verified revision 0.
> svn: Checksum mismatch on rep '0':
>   expected:  288dc2217964c3cd0c8ac3449c091e87
>     actual:  1f1ab77ea562128cfc91f6bc764731e6
>
> It seems like the repository is corrupted at revision 0.
>
> 1. What causes this error and why does it happen?

Binary corruption of the repository files themselves.
I don't know why that would have happened.

> 2. Can I prevent it from happening again?

Don't know. I don't know why it happened in the first place.

> 3. Is there anyway for me to recover from this situation?

If you put the repository on a web/ftp site and email me the URL, I'll poke 
around in it's guts and see what kind of state it's in, and fix it if I can.


Max.


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

Re: Checksum mismatch

Posted by Rick Apichairuk <ra...@gmail.com>.
I also tried 'svnadmin dump /path/to/my/repository' and received the
following error:

[ root@www ] $ svnadmin dump myrepository
SVN-fs-dump-format-version: 2

UUID: 505fce61-aae7-0310-9a95-97397360eba7

Revision-number: 0
Prop-content-length: 56
Content-length: 56

K 8
svn:date
V 27
2004-10-30T13:45:01.503542Z
PROPS-END

* Dumped revision 0.
Revision-number: 1
Prop-content-length: 138
Content-length: 138

K 7
svn:log
V 39
Initial import of myproject project
K 10
svn:author
V 4
root
K 8
svn:date
V 27
2004-10-30T13:45:04.254443Z
PROPS-END

svn: Checksum mismatch on rep '0':
   expected:  288dc2217964c3cd0c8ac3449c091e87
     actual:  1f1ab77ea562128cfc91f6bc764731e6

[ root@www ] $

Any ideas on how I can recover from this situation?

Thanks,

Rick

On Sat, 19 Mar 2005 22:44:37 -0500, Rick Apichairuk <ra...@gmail.com> wrote:
> I recently got an error while using subversion.
> 
> This first happened when I tried to commit a change.
> 
> [ user@machine ] svn commit -m "changed menu items" sidenav.html
> Sending        sidenav.html
> Transmitting file data .svn: Commit failed (details follow):
> svn: Checksum mismatch for resulting fulltext
> (/trunk/htdocs/secure/sidenav.html):
>    expected checksum:  3fb87063c392591bb1aac42ab7cc0210
>    actual checksum:    d67a322cc96601869559e432f89cd6a1
> 
> svn: Your commit message was left in a temporary file:
> svn:    '/data/projects/logicmerc.com/trunk/htdocs/secure/svn-commit.2.tmp
> 
> I tried searching for internet for information on this type of error
> and found a couple of threads on the subversion mailing lists. One of
> the threads contained a recommendation to use svnadmin verify...
> 
> [ user@machine ] $ svnadmin verify /path/to/my/repository
> * Verified revision 0.
> svn: Checksum mismatch on rep '0':
>    expected:  288dc2217964c3cd0c8ac3449c091e87
>      actual:  1f1ab77ea562128cfc91f6bc764731e6
> 
> It seems like the repository is corrupted at revision 0.
> 
> 1. What causes this error and why does it happen?
> 2. Can I prevent it from happening again?
> 3. Is there anyway for me to recover from this situation?
> 
> Thanks,
> 
> Rick
>

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