scm: mercurial: use scmid_for_assert in assert_entries (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12774 e93f8b46-1217-0410-a6f0-8f06a7374b81
scm: mercurial: use scmid_for_assert in assert_parents (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12775 e93f8b46-1217-0410-a6f0-8f06a7374b81