hidesvn uses LD_PRELOAD to hide .svn directories from readdir() and readdir_r().
I'm not officially maintaining this application, but the source code can be cloned from the following Git repository:
git clone git://git.hoeg.nl/hidesvn/
The source code can also be viewed online using Gitweb.