Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i'm trying to set up an SVN repository, which works as a filesystem.

my svn version is 1.6.something

it was configured to be served via apache (http://my.domain/repo) but it also works via the filesystem (file:///path/to/my/repo).

it doesn't matter if I ask specifically to create a "fsfs" type repositry:

svnadmin create --fs-type=fsfs repo

and then

svn import -m commmmment /some/path/to/import/ file:///path/to/my/repo

finally:

ls -lR /path/to/my/repo

the filesystem there contains a database, not the files i wanted. i thought i'd see there a list of my checked-in files, along with some hidden repository stuff.

i need to be able to see the repository as a filesystem, in particular.

i'm missing something fundamental here, but what?

share|improve this question
up vote 2 down vote accepted

I think you misunderstand what FSFS is. Are you sure that it created a BDB repository? (Do you have *.dbd files created?) If you look at the db/fs-type file at the root of your repository with a text editor, this will confirm which repository type is being used.

FSFS is not meant to provide you a directly-usable view to the contents of the repository. It still requires a compatible SVN library to access it. If you need to access the contents of it, do a svn export against it. Yes, you can access such a repository over either HTTP or file://, if you have them configured appropriately - but you still need a Subversion client to do this.

Additional details on each of these backends (and the differences between them) are available at http://svnbook.red-bean.com/en/1.7/svn.reposadmin.planning.html#svn.reposadmin.basics.backends.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .