templates / branches--on commit builtin-am: support and auto-detect mercurial patches (94cd175)
   1: this is just to ensure the directory exists.