Merged r4860 from trunk.
scm: fix diff revision param validation.
Authored by: tmaruyama 2011-02-18
Parent: [r4876]
Child: [r4878]