How to Filter a Subversion repository.
Note: The below command can be utilized where the SVN repository size is grown up with unwanted large files i.e. audio and video.
Note: Above command will dump the existing repository with all history and logs of the repository and after filter the excluded directory it loads the same in new repository.
cat list = list of directories to be excluded.
Quote:
svnadmin dump /d03/repos/svn/marketing | svndumpfilter --preserve-revprops exclude `cat list` | svnadmin load /d03/repos/svn/marketing_new
Note: Above command will dump the existing repository with all history and logs of the repository and after filter the excluded directory it loads the same in new repository.
cat list = list of directories to be excluded.
Comments