Mercurial > hg
diff mercurial/bdiff.c @ 15011:5e44e4b3a0a3
util: move copymode into posix.py and windows.py
reducing it to a NOP on Windows.
This eliminates a pointless stat call on Windows and reduces the risk of
interferring with other processes (e.g. AV-scanners, file change watchers).
See also http://mercurial.selenic.com/wiki/UnlinkingFilesOnWindows, item 2d
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Tue, 02 Aug 2011 13:18:56 +0200 |
parents | afe9269dccec |
children | 73015301db86 |