scm: fix diff revision param validation.
Authored by: tmaruyama 2011-02-17
Parent: [r4859]
Child: [r4861]