scm: mercurial: use scmid as identifier (#3724).
Contributed by Yuya Nishihara.
Authored by: tmaruyama 2011-01-11
Parent: [r4694]
Child: [r4696]