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

Re: db/fsfs possible question

From: Kevin Grover <kevin_at_kevingrover.net>
Date: 2007-05-18 23:00:20 CEST

FSFS repositories are still a database, they're just using a different back
end than the BDB databases repositories.

The files are in REPODIR/db/revs

There's one file per _REVISION_.

If you want to look at the files on the linux box, check out a copy
somewhere (on the linux box).

An example of the files (on Windows, because that's all I have access to at
the moment):

H:\>mkdir t

H:\>cd t

H:\t>svnadmin create t

H:\t>dir t\db\revs
 Volume in drive H is Data
 Volume Serial Number is D87D-950D

 Directory of H:\t\t\db\revs

05/18/2007 13:43 <DIR> .
05/18/2007 13:43 <DIR> ..
05/18/2007 13:43 115 0

NOTE: The only file is '0' because where at revision 0

H:\t>set r=file:///h:/t/t

H:\t>svn mkdir %r%/trunk %r%/tags %r%/branches -m "Initial Directory
Structure"

Committed revision 1.

H:\t>dir t\db\revs
 Volume in drive H is Data
 Volume Serial Number is D87D-950D

 Directory of H:\t\t\db\revs

05/18/2007 13:46 <DIR> .
05/18/2007 13:46 <DIR> ..
05/18/2007 13:43 115 0
05/18/2007 13:46 532 1

NOTE: Now there are two files: '0' for revision 0, and '1' for revision one
(in which the three created directories live: because they were 'commited'
as one atomic revision.

What this means in practice, that all changes made during a commit are
stored in the filename corresponding to that number. But, keep in mind that
this is still a database, you should not go poking about in there.

On 5/18/07, bruce <bedouglas@earthlink.net> wrote:
>
> hi...
>
> i'm using gforge, which has a svn plugin/extension.
>
> i created a test project, and verified the dir was created under the
> correct
> parent dir.
>
> i then used tortoise to access the svn project, and to 'import/add' some
> test folders/files.... this seemed to go ok.. i then used tortoise to
> 'checkout' the test folders/files i had created... again, this seemed to
> go
> ok..
>
> i went to the linux box, that has the svn server, and looked under the dir
> where i expected to see my files.. all i saw was the usual files:
> >>>conf dav db format hooks locks README.txt
>
> so, my question.. where are the folders/files!!
>
> or, is this an indication that the svn is using the berkley db, instead of
> the fsfs method of access...
>
> and if this is the berkley db, how can i change to create svn repos using
> the fsfs method...
>
> thanks
>
> -bruce
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
Received on Fri May 18 23:42:46 2007

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