The broken repository won. I have finally given up on repairing it and
started from scratch, breaking all history. I'm fairly sure the
problem was caused by svnadmin dump silently creating a subtly
corrupted dump file from a corrupted repository. If anyone has the
time/desire to investigate this further, feel free to e-mail me; I've
posted everything I consider pertinent, but you may know something I
don't.
thanks,
Drew
On Jun 3, 2004, at 7:10 PM, Andrew Wagner wrote:
> OK, I've spent another day battling with my broken repository.
>
> For some reason I can dump incremental some incremental revisions but
> not others. The error messages I get seem to chosen randomly from
> "Unexpected end of svndiff input"
>
> When I try to commit I get an "svn: Unexpected end of svndiff input"
> error
>
> My only explanation at this point is that somewhere along the line I
> had to restore from a subtly corrupted .dump file, and the problem
> just took about fifty committs to surface. While I was working
> through problems with file permissions I had to dump and reload the
> database a few times.
>
> Without words of advice or encouragement, I'll probably just throw out
> our entire history, start with a fresh repository, and import my
> latest working copy. I don't think I have enough gumption left to
> keep battling with this broken repository or to merge by hand all of
> the changes since my last backup.
>
> Thanks,
> Drew
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 1:6
> --incremental > temp.dump
>> * Dumped revision 1.
>> * Dumped revision 2.
>> * Dumped revision 3.
>> * Dumped revision 4.
>> * Dumped revision 5.
>> * Dumped revision 6.
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 7
> --incremental > temp.dump
>> svn: Unexpected end of svndiff input
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 8
> --incremental > temp.dump
>> * Dumped revision 8.
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 9
> --incremental > temp.dump
>> svn: Unexpected end of svndiff input
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 10
> --incremental > temp.dump
>> * Dumped revision 10.
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 11
> --incremental > temp.dump
>> svn: Unexpected end of svndiff input
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 12
> --incremental > temp.dump
>> * Dumped revision 12.
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 13
> --incremental > temp.dump
>> WARNING: Referencing data in revision 12, which is older than the
>> oldest
>> WARNING: dumped revision (13). Loading this dump into an empty
>> repository
>> WARNING: will fail.
>> * Dumped revision 13.
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 14
> --incremental > temp.dump
>> svn: Checksum mismatch on rep '2q':
>> expected: 8cc1870bec0fac7d8ab0ff49abf3838c
>> actual: 9512f073bd8df1023809f746139b002c
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 15
> --incremental > temp.dump
>> * Dumped revision 15.
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 16
> --incremental > temp.dump
>> svn: Checksum mismatch on rep '30':
>> expected: b959daea493c0bd450644f06d432d915
>> actual: b492680792dc8f4fbe6ad8e6d6d2e72b
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 17
> --incremental > temp.dump
>> svn: Unexpected end of svndiff input
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 18
> --incremental > temp.dump
>> * Dumped revision 18.
>
> veronese:/usr/local awagner$ svnadmin dump svn_repository -r 19
> --incremental > temp.dump
>> svn: No such string '93'
>
>
>
> On Jun 3, 2004, at 12:41 PM, Andrew Wagner wrote:
>
>> Here are some more details on the problem I'm experiencing...
>>
>> So the symptom noticed first was an inability to commit half a day's
>> worth of work. Everything had worked fine that afternoon, and I
>> don't think anyone else committed anything else that day.
>>
>>> svn ci
>>> ...
>>> Sending gpca_summer04/balls_and_bins.m
>>> Sending gpca_summer04/generate_veronese_maps.m
>>> Sending gpca_summer04/gpca.m
>>> Sending gpca_summer04/test_gpca.m
>>> Transmitting file data ....svn: Commit failed (details follow):
>>> svn: Unexpected end of svndiff input
>>
>> The permissions misconfiguration I had made before seemed to be fixed
>> as of about a week ago (All of the files are being created in the
>> same group, group readable, etc). I checked the file permissions on
>> the repository and they are all in the same group as all of our
>> users, and group read/writable. Thanks to those who helped me; I had
>> skipped part of the book since the page title looked like it was only
>> for users supporting multiple access methods, when you really have to
>> deal with the file permissions even if you are just using svn+ssh.
>>
>> My working copy seems to be up to date wrt the repository.
>>
>>> svn up
>>> The authenticity of host ' (::1)' can't be established.
>>> RSA key fingerprint is 0f:0e:70:e7:26:2148:87:dc:9a:6a.
>>> Are you sure you want to continue connecting (yes/no)? yes
>>> Warning: Permanently added '' (RSA) to the list of known hosts.
>>> awagner@'s password:
>>> At revision 55.
>>
>> The functions that dump the repository seem to get stuck on revision
>> 6 or 7.
>>
>>> veronese:/usr/local awagner$ svnadmin verify svn_repository
>>> * Verified revision 0.
>>> * Verified revision 1.
>>> * Verified revision 2.
>>> * Verified revision 3.
>>> * Verified revision 4.
>>> * Verified revision 5.
>>> * Verified revision 6.
>>> svn: Unexpected end of svndiff input
>>
>>> veronese:/usr/local awagner$ svnadmin dump svn_repository >
>>> svn_repository4.dump
>>> * Dumped revision 0.
>>> * Dumped revision 1.
>>> * Dumped revision 2.
>>> * Dumped revision 3.
>>> * Dumped revision 4.
>>> * Dumped revision 5.
>>> * Dumped revision 6.
>>> svn: Unexpected end of svndiff input
>>
>> The log file is missing comments from revision 3 to 6, although I'm
>> fairly sure I wrote at least something for one of those commits.
>>
>>> veronese:~/gpca_working/trunk awagner$ svn log
>>> The authenticity of host ' (::1)' can't be established.
>>> RSA key fingerprint is
>>> 0f:0e:70:e7:26:21:c2:a7:7d:38:37:48:87:dc:9a:6a.
>>> Are you sure you want to continue connecting (yes/no)? yes
>>> Warning: Permanently added '' (RSA) to the list of known hosts.
>>> awagner@'s password:
>> ...
>>> ---------------------------------------------------------------------
>>> ---
>>> r9 | awagner | 2004-05-03 16:51:22 -0500 (Mon, 03 May 2004) | 2 lines
>>>
>>> Added White white space.... as demonstration
>>>
>>> ---------------------------------------------------------------------
>>> ---
>>> r8 | awagner | 2004-05-03 14:04:02 -0500 (Mon, 03 May 2004) | 2 lines
>>>
>>> Added White space to a file as a demonstration for Kun.
>>>
>>> ---------------------------------------------------------------------
>>> ---
>>> r7 | awagner | 2004-05-03 13:26:05 -0500 (Mon, 03 May 2004) | 3 lines
>>>
>>> Adding an initial copy of the GPCA code. Should be a good starting
>>> point
>>> for future modifications, and a model for a complete rewrite this
>>> summer.
>>>
>>> ---------------------------------------------------------------------
>>> ---
>>> r2 | awagner | 2004-04-30 21:24:00 -0500 (Fri, 30 Apr 2004) | 1 line
>>>
>>> Created a folder to hold the main branch of the gpca code.
>>> ---------------------------------------------------------------------
>>> ---
>>
>> One of the users recently added a tar file of the repository to the
>> repository itself. (We're all new to the svn thing; he should have
>> just tagged a revision)
>>
>> Recovering the repository seems to have no effect.
>>> veronese:/usr/local awagner$ svnadmin recover svn_repository
>>> Please wait; recovering the repository may take some time...
>>>
>>> Recovery completed.
>>> The latest repos revision is 55.
>>
>> I do have dump files that span the portion that seems to be screwed
>> up, i.e. 1 through 30. If I can dump 31 through 55 from the screwed
>> up repository perhaps I can splice the two together and import the
>> merged file.
>>
>> This is all on mac os 10.3, and I was developing the code on the same
>> machine, still using svn+ssh.
>>
>> Anyone have any better ideas, clues, suggestions?
>>
>> Thanks,
>> Drew
>>
>> Drew Wagner
>> UIUC ECE Grad Student
>> Swing Society Photographer
>> 604 W. Nevada #3, Urbana
>> Home: (217) 344-5581
>> Work: (217) 244-6626
>> AIM: drewillini
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
Drew Wagner
UIUC ECE Grad Student
Swing Society Photographer
604 W. Nevada #3, Urbana
Home: (217) 344-5581
Work: (217) 244-6626
AIM: drewillini
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 8 18:35:36 2004