Create a FSFS Repository in Subversion

Posted January 3, 2007 by johnnythawte in Computer programming

Subversion by default uses the Berkeley database format for new repositories, but you can also use the newer FSFS repository. This tech-recipe shows you how.

The FSFS repository type uses a filesystem instead of a database for storing your data, which eliminates any problems with repository corruption that might happen with Berkeley-DB.

To create a new FSFS repository, use the following command:
svnadmin create --fs-type fsfs /path/depotname

Substitute the path for a valid path and repository name on your machine.

Note: FSFS is the default repository type as of Subversion 1.2

The Conversation

Follow the reactions below and share your own thoughts.