How to check database type of subversion repository

Doing some maintenance on my Subversion repository --namely taking out a directory and creating a new repository with only that directory-- I wanted to find out how to check what type of database (FSFS or Berkeley DB) my current svn repository uses.

After some searching all I came up with were pages talking about the two database types, not what database type an existing Subversion repository uses. I decided to look around the file structure of my repository and found an aptly-named file called "fs-type". Calling cat on the file told me what I needed:

$ cat {PATH_TO_REPO}/db/fs-type

About johnny

Computers have interested me since I can remember and conveniently I studied computer science. I also enjoy performing in a local amateur theatre group and cycling. This is where I post solutions to problems I've had in the office or any other project, hopefully clearly enough to refer back to in the future.
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

2 Responses to How to check database type of subversion repository

  1. Saroj Mahanta says:

    Dear Johnny,

    thanks for sharing such a valuable information about file system of SVN.Well, may i know ,if we not mention any file system then what will be the default type of subversion repository. Somewhere i read Berkeley DB is default and somewhere i read FSFS is default. Can you please confirm , also if possible provide your contact number so that i can call you any time for help.

  2. Arun says:

    FSFS is default

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>