[PATCH 0 of 2 V2] util.mktempcopy: eliminate pointless lstat / chmod calls on Windows

Adrian Buehlmann adrian at cadifra.com
Tue Aug 2 12:19:30 UTC 2011


The only file flag that os.chmod supports on Windows is the readonly flag,
which we definitely don't care to copy.

Matt's comment on first version: http://markmail.org/message/vdnpdilu3p7oaq7q

V2: new util.copymode function with platform specific implementations



More information about the Mercurial-devel mailing list