comparison COPYING @ 8255:ea82a23cf887

util.rename: use temporary file name for rename-targets on windows Use a temporary file name as target for a forced rename on Windows. The target file name is not opened at any time; just renamed into and then unlinked. Using a temporary instead of a static name is necessary since otherwise a hg crash can leave the file lying around, blocking future attempts at renaming.
author Sune Foldager <cryo@cyanite.org>
date Wed, 29 Apr 2009 09:30:28 +0200
parents e6db25785b00
children 8c8b55733cbd
comparison
equal deleted inserted replaced
8246:965b11c1bd82 8255:ea82a23cf887