We use SVN in our studio. I am currently working on a Maya tool that needs to automatically perform SVN operations, including locking files.
PySvn (https://github.com/dsoprea/PySvn) looks like a good option. The only thing missing is file locking, but that shouldn’t be too hard to add.
I’m wondering who else is using SVN in their tools and if so which library?