pushexperiment: remove use of obsolete._enabled
pushexperiment.py was using obsolete._enabled but it didn't cause any tests to
fail so I didn't see it. Let's go ahead and replace it with the new
obsolete.isenabled() api.
PYTHON=pythonHG=`whichhg`VERSION=$(shellpythonsetup.py--version)help:@echo'Commonly used make targets:'@echo' tests - run all tests in the automatic test suite'@echo' all-version-tests - run all tests against many hg versions'@echo' tests-%s - run all tests in the specified hg version'all:helptests:cdtests&&$(PYTHON)run-tests.py--with-hg=$(HG)$(TESTFLAGS)test-%:cdtests&&$(PYTHON)run-tests.py--with-hg=$(HG)$(TESTFLAGS)$@tests-%:@echo"Path to crew repo is $(CREW) - set this with CREW= if needed."hg-R$(CREW)checkout$$(echo$@|seds/tests-//)&&\(cd$(CREW);$(MAKE)clean)&&\cdtests&&$(PYTHON)$(CREW)/tests/run-tests.py$(TESTFLAGS)all-version-tests:tests-1.3.1 tests-1.4.3 tests-1.5.4 \tests-1.6.4 tests-1.7.5 tests-1.8 tests-tipdeb-prepare:pythonsetup.pysdist--dist-dir..mv-f../hg-evolve-$(VERSION).tar.gz../mercurial-evolve_$(VERSION).orig.tar.gztarxf../mercurial-evolve_$(VERSION).orig.tar.gzrm-rf../mercurial-evolve_$(VERSION).origmvhg-evolve-$(VERSION)../mercurial-evolve_$(VERSION).origcp-rdebian/../mercurial-evolve_$(VERSION).orig/@cd../mercurial-evolve_$(VERSION).orig&&echo'debian build directory ready at'`pwd`.PHONY:testsall-version-tests