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

Re: README.txt in created repository always says '"db" contains a Berkeley DB environment'

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-07-14 19:26:16 CEST

On Wed, 2004-07-14 at 11:51, kfogel@collab.net wrote:
> When I look at svn_fs_t, there's a 'config' field that might or might
> not have the answer. If one looks up the key SVN_FS_CONFIG_FS_TYPE in
> config, will the value be either SVN_FS_TYPE_FSFS or SVN_FS_TYPE_BDB?

The config is passed by the caller. If it doesn't contain
SVN_FS_CONFIG_FS_TYPE, the default FS type is used, which is currently
always BDB but (with epg's forthcoming commit) would be FSFS if
Subversion was built without BDB support.

> SVN_FS_CONFIG_FS_TYPE's behavior is not documented for anything except
> svn_fs_create(). I'm not sure if it can be tested when opening an
> existing filesystem.

We wouldn't be creating README.txt for an existing filesystem.

> Maybe we should add an API to svn_fs.h:

That, or make the README.txt text unconditional (talk about both back
ends, don't discuss DB_CONFIG at all, whatever).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 14 19:26:33 2004

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.