scm: add scm command and version methods at repository models (#4273).
Authored by: tmaruyama 2011-02-14
Parent: [r4821]
Child: [r4823]