templates / branches--on commit am: preliminary support for hg patches (0cfd112)
   1: this is just to ensure the directory exists.