Thursday, January 26, 2012

remove old svn revisons history

Say you have 1000 revisions and you want to shrink to only have the revisions from r950-r1000. You can do the following:

svnadmin dump /path/to/current/repo -r950:1000 > small_svn.dump
svnadmin create /path/to/new/repo
svnadmin load /path/to/new/repo < small_svn.dump Reference:
http://stackoverflow.com/questions/4350145/how-to-remove-old-svn-revisons

No comments: