add basic support for hg transformations