First save the info to a temp file. Only if saving succeeds, move the temp file to the real file.
Authored by: tortoisesvn 2008-06-18
Parent: [r291]
Child: [r293]