am: preliminary support for hg patches