Tag Archives: svn

HOWTO purge undesired files from your SVN repository

Several months ago, I wrote a post about how to regenerate a SVN repository. In this post I will show how to purge undesired files from it (for example compiler intermediate files, …) on a Windows system. This may be needed to keep the repository size under control. One thing to care about is that, once committed, a file is stored permanently into a repository.  … Continue reading HOWTO purge undesired files from your SVN repository »

HOWTO Upgrade a SVN repository

Sometimes you may need to upgrade or regenerate a SVN repository, because it may be outdated and/or damaged. After some investigations, I discovered that it is possible by a simple batch file like the following one: :@echo off set svnadm=”<path>\svnadmin.exe” set repo_out= “<full pathname of the old repository>” set repo_in=”<full pathname of the new one>” set file_dump=”<path>\repo.dump” %svnadm% dump %repo_out% > %file_dump% %svnadm% load %repo_in% … Continue reading HOWTO Upgrade a SVN repository »