[PATCH 3 of 5 osx] osx: include chg by default

Yuya Nishihara yuya at tcha.org
Sat May 27 09:39:38 EDT 2017


On Fri, 26 May 2017 20:27:30 -0400, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie at google.com>
> # Date 1490046631 14400
> #      Mon Mar 20 17:50:31 2017 -0400
> # Node ID 599d022d2d51320b2d593152e6d87650ceaf1c06
> # Parent  6bf80f254aac0c1238e6cd8c54d5a9f23dfc73fa
> osx: include chg by default
> 
> diff --git a/Makefile b/Makefile
> --- a/Makefile
> +++ b/Makefile
> @@ -176,6 +176,14 @@ osx:
>          # location of our own.
>  	install -d build/mercurial/usr/local/hg/contrib/
>  	install -m 0644 contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash
> +	make -C contrib/chg \
> +	  HGPATH=/usr/local/bin/hg \
> +	  PYTHON=/usr/bin/python2.7 \
> +	  HG=/usr/local/bin/hg \
> +	  HGEXTDIR=/Library/Python/2.7/site-packages/hgext \

Perhaps PYTHON, HG and HGEXTDIR can be removed, but they are harmless anyway.

> +	  DESTDIR=../../build/mercurial \
> +	  PREFIX=/usr/local \
> +	  clean install
>  	mkdir -p $${OUTPUTDIR:-dist}
>  	HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \
>  	OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \


More information about the Mercurial-devel mailing list