[PATCH 0 of 1 STABLE RFC] Remove os.path.realpath workaround for darwin

Christian Ebert blacktrash at gmx.net
Sat Oct 29 07:31:56 CDT 2011


Hi,

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.

(Some) tests to verify:

test-convert-svn-sink.t
test-keyword.t
test-context.py
test-convert-authormap.t
test-revlog-ancestry.py
test-subrepo-relative-path.t

Unless I have the only darwin machine where os.path.realpath
miraculously does the right thing (please tell me, and I'll shut
up) we need to find the python and/or mac os versions where the
darwin workaround is still needed and pack it in an additional
condition.

c


More information about the Mercurial-devel mailing list