Merged r6243 from trunk.
scm: mercurial: add functional test of destroying valid repository.
Authored by: tmaruyama 2011-07-11
Parent: [r6251]
Child: [r6253]