diff Makefile @ 17927:9796d5437e72

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.
author Bryan O'Sullivan <bryano@fb.com>
date Tue, 13 Nov 2012 09:56:09 -0800
parents 682a8ad26138
children 7c9b07f0da73
line wrap: on
line diff
--- 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