view contrib/macosx/macosx-build.txt @ 15551:1fa41d1f1351 stable

posix: add extended support for OS X path folding OS X does the following transformation on paths for comparisons: a) 8-bit strings are decoded as UTF-8 to UTF-16 b) undecodable bytes are percent-escaped c) accented characters are converted to NFD decomposed form, approximately d) characters are converted to _lowercase_ using internal tables Both (c) and (d) are done using internal tables that vary from release to release and match Unicode specs to greater or lesser extent. We approximate these functions using Python's internal Unicode data. With this change, Mercurial will (in almost all cases) match OS X folding and not report unknown file aliases for files in UTF-8 or other encodings.
author Matt Mackall <mpm@selenic.com>
date Tue, 22 Nov 2011 17:26:32 -0600
parents 7289d20b18cd
children
line wrap: on
line source

to build a new macosx binary package:

install macpython from http://www.python.org/download/mac

install py2app from http://pythonmac.org/packages/

make sure /usr/local/bin is in your path

run bdist_mpkg in top-level hg directory

find packaged stuff in dist directory