[PATCH 0 of 1 STABLE RFC] Remove os.path.realpath workaround for darwin
Christian Ebert
blacktrash at gmx.net
Wed Nov 2 11:07:56 UTC 2011
* Christian Ebert on Saturday, October 29, 2011 at 14:31:56 +0200
> Sending this to provoke some kind of reaction ;-)
>
> I'm sure Dan's darwin workaround for os.path.realpath is still
> needed in certain Python - OS X combinations. However, it does
> the wrong thing on my machine: MacOS 10.5.8 and Python 2.7 or
> Python 2.5 whereas os.path.realpath gets it right.
>
> This appeared only after ab600a25dfc0 actually put util.realpath
> to use.
Now that 2.0 is out it might be a good idea to look again at
util.realpath, posix.realpath and friends.
There must be a reason for:
http://selenic.com/repo/hg/rev/40196d036a71
And:
http://selenic.com/repo/hg/rev/ab600a25dfc0
should certainly used as well for Python < 2.5.
util.realpath after corrections to posix.realpath - I don't know
about the windows-side - most probably /should/ be used instead
of os.path.realpath.
c
--
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions
More information about the Mercurial-devel
mailing list