scm: code clean up RepositoriesController.
Authored by: tmaruyama 2011-05-03
Parent: [r5616]
Child: [r5618]