Create Repository
Repository is at the core of the SVN. All the files are stored in the repository in the form of hierarchy. Any number of clients can connect to the repository to access the data and edit it.Syntax:
$ svnadmin create --fs-type fsfs repository_nameIn the above syntax, svnadmin create is the command to create the repository. The --fs-type tells the type of repository that is to be created. The fsfs is the default or "Berkeley Database". Other options are given below:
- --bdb-txn-nosync : disable fsync at transaction commit [Berkeley DB]
- --bdb-log-keep : disable automatic log file removal [Berkeley DB]
- --config-dir : read user configuration files from directory specified
- --pre-1.4-compatible : use format compatible with Subversion versions earlier than 1.4
- --pre-1.5-compatible : use format compatible with Subversion versions earlier than 1.5
$ svnadmin create --fs-type fsfs /home/user/svnrep $An empty directory named svnrep will be created in the path specified above.
