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

Re: setting up svn with fsfs, + ssh *only*

From: Jean-Pierre Sevigny <jpierre_at_zingy.com>
Date: 2005-01-26 20:44:28 CET
Jani Averbach wrote:
On 2005-01-26 13:59-0500, Jean-Pierre Sevigny wrote:
  
Hi,

I did:
svnadmin create /usr/local/repo --fs-type fsfs

and did an import, from another machine,  like this:

cvs import -m "test" testDir svn+ssh://reposerver/usr/local/repo


Now, where are my files on the reposerver? It seems it's still using the 
Berkeley db as a backend.

    

If you have a /usr/local/repo/db/fs-type file, and it contents is
'fsfs', then you have a fsfs repo. Also if you see
/usr/local/repo/db/revs/ and /usr/local/repo/db/revprops/, then you
have a fsfs repo.  Your working files won't appear individually under
repo in any case, instead of they will show as BDB tables (BDB
backend) or as two bundled file, one set per commit, under revs and
revprops (FSFS backend).

BR, Jani

P.S. And I bet that you didn't use cvs for importing your files. =)
Welcome to the Subversion world!

  
Ben Collins-Sussman wrote:

On Jan 26, 2005, at 12:59 PM, Jean-Pierre Sevigny wrote:

Hi,

I did:
svnadmin create /usr/local/repo --fs-type fsfs

and did an import, from another machine,  like this:

cvs import -m "test" testDir svn+ssh://reposerver/usr/local/repo


Now, where are my files on the reposerver? It seems it's still using the Berkeley db as a backend.


Why would you say that?  Look in the repository.  You should have two revision files in the db/revs/ directory, "0" and "1".  Those are your revision trees.  Examine their contents if you wish.  That's FSFS.  It's not berkeley db, but it's not like your files are just copied into the repository.  :-)  FSFS uses a custom file format to represent an entire revision tree.  Each revision tree is a file.




Ohh.... thanks... I was expecting a layout similar to cvs, where you see the tree on the repository.

The *cvs* import is from an old habit :).  Thanks for the feedback.



--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org Received on Wed Jan 26 20:47:04 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.