[PATCH] util: move checklink() to posix.py and return False on Windows

Matt Mackall mpm at selenic.com
Tue Apr 5 15:51:40 CDT 2011


On Tue, 2011-04-05 at 17:11 +0200, Adrian Buehlmann wrote:
> # HG changeset patch
> # User Adrian Buehlmann <adrian at cadifra.com>
> # Date 1301997352 -7200
> # Node ID f527ca53997fdff3c9910e6a34cf37988331020f
> # Parent  06803dc5fc1909c7716cfed3c1ca6b18a1fda5aa
> util: move checklink() to posix.py and return False on Windows
> 
> Python added support for Windows 6.0 (Vista) symbolic links in 3.2 [1], but
> even these symbolic links aren't what we can expect from a canonical
> symbolic link, since creation requires SeCreateSymbolicLinkPrivilege,
> which typically only admins have.

Seems sensible, queued.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list