makefile: don't use system hgrc when running hg in-place
authorBryan O'Sullivan <bryano@fb.com>
Tue, 13 Nov 2012 09:56:09 -0800
changeset 17927 9796d5437e72
parent 17926 65a46635fb31
child 17928 082c0e1ecc23
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.
Makefile
--- a/Makefile	Tue Nov 13 09:55:26 2012 -0800
+++ b/Makefile	Tue Nov 13 09:56:09 2012 -0800
@@ -34,7 +34,7 @@
 
 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