fixes for git and svn repositories