scm: fix error on revision page for empty revision (#7307).
Authored by: tmaruyama 2011-01-13
Parent: [r4702]
Child: [r4704]