This search would obviously include all the '.svn' folders too. Trying to get rid with them with
does not work, since grep uses basic regular expressions, and the period mark will simply match any character.
locate svn | grep -v '.svn'
To explicitly indicate the usage of a punctuation mark, one has to put it in brackets. The statement will now look something like:
locate svn | grep -v '[.]svn'
I just scanned through the grep man pages, and everything is explained pretty clearly there. I'd recommend reading the bit on regular expressions.