contrib/macosx/macosx-build.txt
author Martin von Zweigbergk <martinvonz@google.com>
Tue, 19 Jan 2016 15:32:32 -0800
branchstable
changeset 27929 3b2ac2115464
parent 2575 7289d20b18cd
permissions -rw-r--r--
changegroup: introduce safeversion() In a few places (at least repair.py and shelve.py), we want to find the best changegroup version that we can assume users of the repo will understand. For example, we choose version 01 by default, but if it's a generaldelta repo, we expect clients to support version 02 anyway, so we choose that for new bundles (for e.g. "hg strip"). Let's create a helper for this functionality in changegroup, so we can reuse it elsewhere later.

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