You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Eric Lakin <el...@infohell.net> on 2006/06/13 01:25:23 UTC

Corrupt repository?

Greetings! I'm having difficulties with my SVN repository that I'm
hoping somebody can help with.

First, the repository is bdb-backended, running on a MacOSX 10.4 machine.
There's only one user of the repo (me) and only the command-line utils
are used.

The first indication of a problem is:

    $ svn commit -m "yow" 
    Sending        voipb2b
    Transmitting file data .svn: Commit failed (details follow):
    svn: Base checksum mismatch on '/TCS/voip_tools/trunk/voipb2b':
       expected:  963065dd9d6afec2e6220905acc97cf3
         actual:  16c7dfef56e2041412f1c91f2e1735c1

To make sure my working copy wasn't just hosed up, i tried re-checking
out the latest from the repository, which fails partway thru:

    $ svn co file:///Users/elakin/Documents/svn/TCS/voip_tools/trunk /tmp/voip_tools
    A    /tmp/voip_tools/depend
    A    /tmp/voip_tools/TCS-Test.csv
    A    /tmp/voip_tools/deploy_voip.sh
    A    /tmp/voip_tools/voipb2brc_example
    svn: No such string 'jv'

I tried doing a repair of the repository:

    $ svnadmin recover /Users/elakin/Documents/svn
    Repository lock acquired.
    Please wait; recovering the repository may take some time...

    Recovery completed.
    The latest repos revision is 103.


The commit still fails. I can, however, change and commit other files in the
same directory. If I try to do a verify, i get:

    $ svnadmin verify /Users/elakin/Documents/svn
    * Verified revision 0.
    * Verified revision 1.
    ...
    * Verified revision 27.
    * Verified revision 28.
    svnadmin: No such string 'jv'

I can do a dump from revision 0:28, but dumping fails from 29 onward.
If I try to do a checkout of the whole repo, it starts OK, but eventually fails
with the same "No such string 'jv'" error:

    $ svn co file:///Users/elakin/Documents/svn /tmp/fubar
    A    /tmp/fubar/countdown
    A    /tmp/fubar/countdown/trunk
    A    /tmp/fubar/countdown/trunk/scrolldown.pl
    A    /tmp/fubar/countdown/trunk/countdown.pl
    A    /tmp/fubar/countdown/branches
    A    /tmp/fubar/countdown/tags
    ...
    A    /tmp/fubar/TCS/voip_tools
    A    /tmp/fubar/TCS/voip_tools/trunk
    A    /tmp/fubar/TCS/voip_tools/trunk/depend
    A    /tmp/fubar/TCS/voip_tools/trunk/TCS-Test.csv
    A    /tmp/fubar/TCS/voip_tools/trunk/deploy_voip.sh
    A    /tmp/fubar/TCS/voip_tools/trunk/voipb2brc_example
    svn: No such string 'jv'

It looks like just one file - TCS/voip_tools/trunk/voipb2b (which is the next
file that 'svnlook tree' shows, and the one I can't commit to) is fubar'd.

So - how/can I repair the repository?


-- 
         You are in a maze of twisty little email threads, all alike
         [    elakin@infohell.net     |     elakin@comcast.net     ]
## set vi:nowrap tw=72

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