add make_hg_commit helper function.
missing `