You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by bruce <be...@earthlink.net> on 2007/05/18 20:52:17 UTC
db/fsfs possible question
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
Re: db/fsfs possible question
Posted by Ryan Schmidt <ry...@macports.org>.
On May 18, 2007, at 15:52, bruce wrote:
> 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...
Both FSFS and BDB are database formats. BDB is a commonly-available
general-purpose database engine, and FSFS is a database created
specifically for Subversion. The files you check in are stored in
this database. You do not see them at the server's OS level, nor do
you need to.
To know which repository format you're using, check the contents of
the file db/fs-type.
In FSFS, the directory db/revs contains one file per revision that
you check in. Each rev file contains the differences to a previous
revision, from which a Subversion client can reconstruct the actual
files and directories. There's also db/revprops which contains
properties for each revision. You do not need to overly concern
yourself with the way in which Subversion stores your data. Just know
that it does.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: db/fsfs possible question
Posted by Kevin Grover <ke...@kevingrover.net>.
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 <be...@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
>
>