It can happen very quickly, that someone accidentially changes the target file without changing the template. As long as everything is checked in, the contents can still be recovered. If not, the contents is lost.
Thought should check, whether the target file has changed compared to the repository version and refuse to overwrite if this is not the case.