Mercurial temporary file nomenclature

Matt Mackall mpm at selenic.com
Mon Apr 12 16:23:46 CDT 2010


On Mon, 2010-04-12 at 22:50 +0200, Jason Harris wrote:
> Since in OSX the dominant way to check for changed files by the system is FSEventStream's and these are directory only. See eg:
> http://developer.apple.com/mac/library/documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/Introduction.html
> 
> Are there any other alternatives?  I take it calling something along the lines of os.access(path, mode) is not sufficient?

No, this code is about determining whether the underlying filesystem
actually supports the exec bit despite the OS api presenting it. Think
mounting a VFAT fs under Unix.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list