Mercurial > hg
diff tests/test-i18n.t @ 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 | 56848e2bb0c5 |
children | 430714e2a876 |