templates / branches--on commit builtin/apply: make build_fake_ancestor() return -1 on error (fe41b80)
   1: this is just to ensure the directory exists.