Ben Collins-Sussman wrote:
> On Fri, 2004-08-13 at 07:07, SteveKing wrote:
>
>>Hi,
>>
>>I'm looking through the headers and sources of Subversion now for two
>>hours, but I can't find a function which I could use to check wheter a
>>path points to a bdb or fsfs type repository.
>>Is there no such function or am I just blind? (I think the latter :(
>
>
> You are correct, there is no such API.
>
> Why does your program need to discover this? The whole point of
> svn_fs.h is that the implementation is abstracted. Your application
> shouldn't have to behave any differently. (The same thing goes for the
> RA libraries; your application has a URL with a certain schema, and the
> API automatically opens the correct RA library for you. Your
> application doesn't need to know which RA library is being used.)
The reason I was asking for such an API is that FSFS works well over
network shares and on Win95+ systems, but BDB does not. So I wanted to
give the user a warning if (s)he checks out a working copy via file:///
if it's a BDB and on a network share or BDB on Win95+.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 13 16:26:12 2004