view contrib/macosx/macosx-build.txt @ 23603:d74eb8d477d5

memctx: calculate manifest more efficiently Before this patch, "memctx._manifest" updates all entries in the (parent) manifest. But this is inefficiency, because almost all files may be clean in that context. On the other hand, just updating entries for changed "files" specified at construction causes unexpected abortion, when there is at least one newly removed file (see issue4470 for detail). To calculate manifest more efficiently, this patch replaces "pman.iteritems()" for the loop by "self._status.modified" to avoid updating entries for clean or removed files Examination of removal is also omitted, because removed files aren't treated in this loop (= "self[f]" returns not None always).
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Fri, 19 Dec 2014 00:11:56 +0900
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