[PATCH 1 of 2] util: add realpath() for getting the 'true' path

Matt Mackall mpm at selenic.com
Mon Jul 27 15:38:19 CDT 2009


On Sun, 2009-07-26 at 17:27 +0200, Dan Villiom Podlaski Christiansen
wrote:
> # HG changeset patch
> # User Dan Villiom Podlaski Christiansen <danchr at gmail.com>
> # Date 1248621908 -7200
> # Node ID fd520b42a33e73cc3e47534335cdfccc359a01b6
> # Parent  ca143d86727cdf7cfc079b6fc9a1eb09eed2dc72
> util: add realpath() for getting the 'true' path.
> 
> The function is implemented for Mac OS X using the F_GETPATH fcntl,
> and a basic implementation for Windows is provided as well. On other
> POSIX systems, vanilla os.path.realpath() is used.

Queued, thanks!

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




More information about the Mercurial-devel mailing list