On Thu Jul 26 11:39 , Nicolai Scheer sent:
>I do not know the structure for Berkley DBs.
>If you were using FS, then the log messages are kept in plaintext under
>the db/revprops folder in the repository structure. Each revision has a
>single file there, containing the revision's properties.
>Among those you can find svn:author, svn:date and svn:log.
>
>Good luck!
>
>bye,
>
>Nico
>
>PS: please cc' the list!
>
So I popped in the Ubuntu LiveCD on this old crummy PowerBook G4, since I don't
have a computer right now (everything that could go wrong, I ran dd over the
entire drive, extracted a binary image of it and dumped it to an NFS drive. I
would have done this just on my own laptop, but the power supply on my ASUS was
defective. I used the livecd since the mac isn't mine and belongs to the lab so I
didn't want to touch the HD and put on a real operating system on it.
Then I downloaded the source to Bless hex editor, grabbed the mono developers
packages and compiler, built it, then used it to search through the entire image
for 'svn:author', and manually copying and pasting from the "K 10" initial
portion (which I found to mark the start of all of the revprops (0, 1, 2, ...) on
a test local repository) and all the way terminated by the "END" token. It took
several hours, but the alternative was to not even bother looking through the
rubble and just walk away after the Library of Alexandria went down in flames. I
just didn't want to lose all of my projects changelogs. The code itself is fine,
since I have the latest working copies still.
So for each of my repositories that I could identify, I have a simple plain text
file I have created like this...
=======================================
K 10
svn:author
V 3
Kip
K 8
svn:date
V 27
2007-07-15T07:44:33.077548Z
K 7
svn:log
V 97
Added: A few more tooltips...
Fixed: Workaround hack for buggy Quicktime backend in analysis...
END
K 10
svn:author
V 3
Kip
K 8
svn:date
V 27
2007-07-14T06:27:06.177402Z
K 7
svn:log
V 134
Updated: OS X build instructions...
Updated: Tips...
Added: More work on video analysis...
Changed: Sizers are getting in the way...
END
...
===============================================
The commit log is there, but I just don't know for what revision that was for,
since that information is in the revprops file name itself (which is surely gone).
I have looked all over the place and I cannot find any information on the layout
of the revprops files for the FSFS backend anywhere. If anyone knows, that is the
information I need to write some simple parser that goes through all of these and
orders them by date & time. I've tried to make sense of it, but occasionally with
a different repository, what I thought was a header or a data type meta line
turns out to be something else.
Any ideas appreciated.
Kip
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 28 20:17:19 2007