I want to ignore some hidden files (like .project and .pydevproject) in SVN. They are already in our trunk at the moment so I don't want to delete them from the trunk since it may cause more problems for the other developers. So what I tried to do is to run:
svn propset svn:ignore .project .
but right after that when I run svn status, it returns:
M .
and if I make changes on .project, it still tracks those changes. I also tried global-ignores in /etc/subversion/config, no luck.
What do you think would be the best way to solve this problem?
Thanks.
svn:ignore
works only for the files that haven't been added yet.
Unfortunately you cannot do that in automatic way (at least I don't know any way of doing that).
So all you can do now is:
svn rm
svn up
svn up
and move the deleted files backNow .project
is not tracked by svn and will not appear in svn st
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With