Permanent File Removal
Dec 16, 2013
1 min read
May 31, 2023 18:15 EEST
Filter Files/Path from Existing Repo
Dump your repo with:
svnadmin dump /path/to/repo > reponame.svndump
Now you can remove files or a complete path with:
cat reponame.svndump | svndumpfilter exclude --drop-empty-revs --renumber-revs \
/trunk/file-to-exclude.txt /trunk/path-to-exclude > reponame2.svndump
Now create you new repo and load the dump into it:
svnadmin create /path/to/new/repo
svnadmin load /path/to/new/repo < reponame2.svndump
Related Posts
Dec 16 | Create a new repository | 1 min read |
Dec 16 | Creating a branch | 1 min read |
Dec 16 | First checkout | 1 min read |
Dec 16 | Hide Whitespace Changes | 1 min read |
Dec 16 | Import data into the new repository | 1 min read |