scm: add compatible "commit:xxx" link test for git and darcs.
Authored by: tmaruyama 2011-01-11
Parent: [r4689]
Child: [r4691]