[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: Brandon, Nicholas <nicholas.brandon_at_baesystems.com>
Date: 2005-12-13 13:51:10 CET

>Yes. I'm guessing your on Windows, given the path in the subject. I hope
>have Python installed. :-)

>I attached a script that create another 'current' file for you. To use it,

>you need to pass it the path to your repository. It will hunt through the
>rev files, and then generate a new current file for you. If it doesn't
>for you (eats all your memory or something because it's reading in a lot of

>data), then let me know and we'll do something different.

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).

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.

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


This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.

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

Received on Tue Dec 13 14:09:58 2005

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