[PATCH] makefile: don't use system hgrc when running hg in-place

Augie Fackler raf at durin42.com
Sat Nov 10 15:54:53 CST 2012


LGTM, push it.

On Nov 9, 2012, at 6:09 PM, Bryan O'Sullivan <bos at serpentine.com> wrote:

> # HG changeset patch
> # User Bryan O'Sullivan <bryano at fb.com>
> # Date 1352506176 28800
> # Node ID 466751a706674b6e591442bfad7df3c6f3771fa5
> # Parent  123560a9b0f5b45858feb54d95ee5d6da5730783
> makefile: don't use system hgrc when running hg in-place
> 
> This suppresses the printing of spurious error messages if a global
> hgrc refers to extensions that the in-place hg can't access.
> 
> diff --git a/Makefile b/Makefile
> --- a/Makefile
> +++ b/Makefile
> @@ -34,7 +34,7 @@ all: build doc
> 
> local:
> 	$(PYTHON) setup.py $(PURE) build_py -c -d . build_ext -i build_hgexe -i build_mo
> -	$(PYTHON) hg version
> +	env HGRCPATH= $(PYTHON) hg version
> 
> build:
> 	$(PYTHON) setup.py $(PURE) build
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel



More information about the Mercurial-devel mailing list