I’m looking for the database Design ( Relational – Model ) used by Subversion.
I’m working in a project that should be able to merge, version and any other similar subversion operations.
Does anyone know any site that describes the Subversion tables ?
Thanks in advance !
Have a look at this page, which describes the two database formats (Berkeley DB and FSFS).
The Subversion source code contains information on the database in the
subversion/libsvn_fs_base/notesfolder – there’s some history, and a description and diagram of the schema.You could also view the source code itself. For example, this contains code relating to creating a BDB database:
https://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_base/fs.c?view=markup
and there’s also source code for each table in the database:
https://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_base/bdb/
You can dump the contents of a table in the database: