SVN server takes up a lot of space

I created an SVN server a long time ago. I save some binaries (doc files) along with codes. After each edit size increases, SVN saves a new copy of the binary. Now svn takes up a lot of space.

Q1. I want to delete the entire previous revision of the binaries, keeping the previous versions of my codes intact, how to do this?

Q2. Is there also a setting in SVN where I can configure it? Like "do not store more than 10 versions for a specific folder."

+3
source share
1 answer

Q1. You will have to dump the repository and filter it. Take a look at the "svnadmin dump filter".

( : http://svnbook.red-bean.com/en/1.5/svn.ref.svndumpfilter.html http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svndumpfilter)

Q2. , , . script .

, , "" ( !).

+2

Source: https://habr.com/ru/post/1794711/


All Articles