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.

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

Popular posts from this blog

configure Netbackup email notification on Unix