templates / branches--on commit switch: reject if some operation is in progress (c45f0f5)
   1: this is just to ensure the directory exists.