git-translate can translate Mercurial hashes to Git hashes (and vice-versa) for OpenJDK repositories that have been converted from Mercurial to Git. Note that git-translate relies on the presence of a map file, which by default is the file
.hgcommits in the root of a Git repository.
Show the hash for the Mercurial commit that a Git commit was converted from:
Show the hash for the Git commit that a Mercurial commit was converted to: