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

Re: Problems with BDB file access

From: si <sshnug.si_at_gmail.com>
Date: 2006-01-17 01:48:00 CET

> So now, as it seems, the new version of TSVN has problems accessing a
> BDB repository created with an earlier version. I can't even access a
> BDB repo with an 1.2.x Subversion client anymore if I create it with
> TSVN 1.3.0, and vice-versa!

Interesting...we have some old BDB repositories, which are working just
fine against TortoiseSVN 1.3.0 (I can repo-browse and did a commit with
no issues), however I just created a BDB repository using TortoiseSVN
1.3.0 and when I tried to browse or import (using TortoiseSVN 1.3.0):

"svn://localhost/test/Error * Berkeley DB error for filesystem
C:/svnroot/repos/test/db while opening 'nodes' table: Invalid argument
bdb: recovery of prepared but not yet committed transactions is
incomplete"

So I then created a BDB repository using Subversion 1.2.3, and using
TortoiseSVN 1.3.0 imported and checked out some data and performed
a commit. This worked exactly as expected.

So the last test was to download svn-1.3.0-setup.exe (yup, it's ready!)
and repeat the process (create BDB repos using SVN 1.3.0, import and
checkout and commit using TortoiseSVN 1.3.0), and this worked as
expected.

This seems to indicate that Subversion 1.3.0 is ok, instead, the build
of Subversion 1.3.0 in TortoiseSVN 1.3.0 isn't quite right (although
most of it does seems ok).

Note: Tests were done using ra_svn repository access method and
binary release versions of TortoiseSVN (msi) and SVN (setup.exe).

Finally, would it be worth adding some test targets to the NAnt builds
to call TortoiseSVN via command line to pick these errors up?

I could add an option to call TortoiseProc instead of svn/svnadmin
to my own NAnt builds in Subnant (which has test functionality already
built to do this sort of thing, e.g. create bdb and/or fsfs repository in
temp area, import files, modify and commit, dump, load, test hooks etc),
but Subnant is probably not the right tool for this job, and I suspect
TortoiseSVN and/or TortoiseProc will need modifications to help in the
test automation (e.g. add switch for fs-type to bypass dialog box).

peace
si

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jan 17 01:49:32 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.