Mercurial > hg
comparison mercurial/manifest.py @ 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 | 14a4337a9b9b |
children | d051342f1ad1 |
comparison
equal
deleted
inserted
replaced
8246:965b11c1bd82 | 8255:ea82a23cf887 |
---|