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

Re: getting the type of the repository

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-08-13 17:01:16 CEST

On Fri, 2004-08-13 at 09:28, SteveKing wrote:

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

Algorithm:

  Look for 'repos/db/fs-type'.
  If it doesn't exist:
     it's a BDB repos.
  Else:
     read file contents to get type.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 13 17:02:27 2004

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