[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: <kfogel_at_collab.net>
Date: 2004-07-14 18:13:27 CEST

Greg Hudson <ghudson@MIT.EDU> writes:
> 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.

Sure, I'm just thinking in terms of generic API now, not the specific
need that started it.

> > 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).

That would be easier, but the thing is, it's really better if it
mentions DB_CONFIG if it's BDB, and doesn't bother the reader at all
if it's FSFS.

I'll try adding the API.


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:42:35 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.