Using SQL Server back end for Subversioning Repositories

こ雲淡風輕ζ 提交于 2019-12-20 03:30:47

问题


Has anyone attempted to use SQL Server Database as a Subversion file system back end? So that all Subversion Repositories would be stored in a SQL Database instead of a flat file system? Make for easier backups and reporting?


回答1:


This is not feasible. The entire core of subversion would need to be rewritten. Subversion does support a Berkeley db implementation, and with the proper tools, this db could be exported to mssql for reporting.




回答2:


Subversion has two different repository formats. There's the default FSFS which uses a 'flat' file system. But you can also create repositories which use the berkeley db.

To create such a BDB repository, use the command

svnadmin create path/to/repository --fs-type BDB


来源:https://stackoverflow.com/questions/398802/using-sql-server-back-end-for-subversioning-repositories

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!