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

Re: "svn --version" should output supported fs backends

From: Marcus Rueckert <darix_at_web.de>
Date: 2005-03-22 06:33:10 CET

On 2005-03-22 06:07:00 +0100, Marcus Rueckert wrote:
> another good addition might be "svnadmin help create" mentions the
> supported backends too. atm it seems it always reports both backends.
>
> cant test the svnadmin part any further as there seems to be a bug with
> fsfs only builds. mail coming.

ok i sorted out my build problems. [1]

and svnadmin help create always mentions both fs types.

but svnadmin create will fail.
[[[
$ svnadmin create --fs-type=bdb foo
subversion/libsvn_fs/fs-loader.c:136: (apr_err=160033)
svn: Unknown FS type 'bdb'
]]]

on point i see for this:
[[[
$ ldd svnadmin
libsvn_repos-1.so.0 => /opt/apache2.1/lib/libsvn_repos-1.so.0 (0x40018000)
libsvn_fs-1.so.0 => /opt/apache2.1/lib/libsvn_fs-1.so.0 (0x40035000)
libsvn_fs_fs-1.so.0 => /opt/apache2.1/lib/libsvn_fs_fs-1.so.0 (0x4003a000)
libsvn_delta-1.so.0 => /opt/apache2.1/lib/libsvn_delta-1.so.0 (0x40055000)
libsvn_subr-1.so.0 => /opt/apache2.1/lib/libsvn_subr-1.so.0 (0x4005e000)
libaprutil-1.so.0 => /opt/apache2.1/lib/libaprutil-1.so.0 (0x40084000)
[...]
libdb-4.2.so => /usr/lib/tls/libdb-4.2.so (0x400eb000)
[...]
]]]

you cant decide from the libdb linked if the svnadmin supports bdb or
not only libsvn_fs_base-1.so would tell you this. but should a user
really need ldd to look up what is supported?

darix

[1] clean checkout solved it. looks like:
"configure --with-bdb; make ; make clean ; configure --without-bdb; make all install"
didnt work as i expected. or i was just to tired

-- 
irssi - the client of the smart and beautiful people
              http://www.irssi.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 22 06:34:20 2005

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

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