Reputation: 140983
I have a SVN repository that has stuff from Bin directory (.exe
, .dll
, .pdb
). I would like to clean up the repository to erase those file and to prevent them to come back.
*.exe *.suo *.pdb /Debug/*
but it doesn't seem to work fine.Upvotes: 1
Views: 2749
Reputation: 4678
You will need to delete and ignore those files. There isn't a direct way to do it, as the ignore property does not apply recursively down the directory paths.
tortoisesvn mass ignore http://img60.imageshack.us/img60/5207/20090716104211.png
Now you've achieved:
Upvotes: 6
Reputation: 26792
As the original question was in fact how to clean up the repository (and there may be valid reasons to do so: legal, or repository size blowing up), I would like to add that the only way this can be done is by dumping a repository to a file (svn dump), filtering the contents with 'svndumpfilter' and reloading it into a new repository:
Upvotes: 2
Reputation: 5939
Those files weren't supposed to be in the repository. Only put in what you need to build the executable (source code + makefile).
I would suggest that you place the source and the executable in different directories, and only checkin those in the source directory.
For the deletion part, don't bother. Just create a new revision without those files.
Upvotes: 0