adding hg id to commits