I don't suggest using OpenKM for a developement code repository, it's not a good idea. For it purpose SVN is a great candidate with some enhancement oriented to it purpose, that's not the OpenKM purpose. In other hand you could use OpenKM as a repository code browser, but not for developing only for...