Max Bowsher wrote:
> I just wrote one :-)
Great!
> svn co http://svn.collab.net/repos/svn/trunk/tools/bdb/
> ./erase-all-text-data.py <bdb-svn-repository>
However, when I try to run the tool on a copy of my repository, I get
the following error:
-- 8< --
# ~/svn-bdb/bdb/erase-all-text-data.py /var/lib/svn/TestRepos/
WARNING!: This program will destroy all text data in the subversion
repository '/var/lib/svn/TestRepos/'
Do not proceed unless this is a *COPY* of your real repository
If this is really what you want to do, type 'YESERASE' and press Return
Confirmation string> YESERASE
Opening database environment...
Traceback (most recent call last):
File "/root/svn-bdb/bdb/erase-all-text-data.py", line 73, in ?
main()
File "/root/svn-bdb/bdb/erase-all-text-data.py", line 38, in main
ctx.open(DBEnv(), dbhome)
File "/root/svn-bdb/bdb/svnfs.py", line 27, in open
self.env.open(dbhome, DB_JOINENV)
bsddb3._db.DBInvalidArgError: (22, 'Invalid argument -- incorrect arguments for name-value pair: set_flags')
-- 8< --
I assume this is a libdb{3|4.2} compatibility problem. The local svn
binary uses libdb-4.2.so whereas python-bsddb3 is apparently linked
against libdb3.so.3.
Any ideas?
Regards,
Thilo
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 15 14:07:18 2004