Add actionformats and formats for hg/git.