2
votes

I want to ignore target folder each time I commit code change using Tortoise SVN client on Window 7. So I right click on target folder and select TortoiseSVN -> Unversion and add to ignored list. However, next time I commit from the parent folder of target, I still see it on the list to be committed. Am I missed something to get it done?

1
What exactly you see when you are trying to commit the "delete and ignore"?bahrep

1 Answers

2
votes

See TortoiseSVN Manual, especially this part: "Ignore files which are already versioned".

When you run "Unversion and add to ignore list" command it will schedule the file or a folder to be removed on next commit and will add it to ignore list. You need to commit this change to repository.

If the files are already in the repository, they have to be deleted from the repository and added to the ignore list. Fortunately TortoiseSVN has a convenient shortcut for doing this. TortoiseSVN → Unversion and add to ignore list will first mark the file/folder for deletion from the repository, keeping the local copy. It also adds this item to the ignore list so that it will not be added back into Subversion again by mistake. Once this is done you just need to commit the parent folder.