[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Contents of 'db\current' file

From: John Szakmeister <john_at_szakmeister.net>
Date: 2005-12-14 09:12:49 CET

On Tuesday 13 December 2005 07:51, Brandon, Nicholas wrote:
[snip]
>
> I didn't have Python installed this morning :)
>
> Your script ran fine though I noticed a simple error that I changed on the
> last line (using max_rev_id).

Hrmph. I did check it on several repositories here before tossing it over the
fence at you at got the right results (by writing the result to stdout rather
than the 'current' file). So I ran it on 15 more, and they all come back
good as well. :-/

> Once the new file was created I still had issues with further missing files
> so I have resorted to an older backup.
>
> Out of interest, I renamed the 'current' file on the restored repository
> and re-ran your script. The output was not as expected. The restored
> 'current' file had the last revision at 167, but your script said it was
> 166. My first thought was a simple </<= for loop error but double checking
> your script made it obvious that this is not the case.
>
> I opened the 167 revision file in Wordpad and searched for "id: " and found
> many with ...r167/... so I don't understand what went wrong. Just letting
> you know.

Thanks for the heads up. This may be a difference in the expected line ending
style for Windows. The one difference I have between your box and mine is
that mine runs Linux. :-) If I get a chance I'll try it out on a Windows box
and see what happens.

> I really appreciate your help with this John - I recommend adding your
> script to every Subversion Admin's Toolbox.

You're very welcome. Sorry it didn't lead to getting your repository back on
it's feet though.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 14 09:16:06 2005

This is an archived mail posted to the Subversion Users mailing list.