testing: improve mercurial installation
authorGregory Szorc <gps@mozilla.com>
Wed, 13 Aug 2014 16:33:08 -0700
changeset 359296 6f786f6b0d96c81a1c2111b09e937908d1516a8b
parent 359295 6eb84cd52f27e3deee549bcc1fde989cae159c49
child 359297 4fc76b62bada5f1e970082ad266ac8e7857f350d
push id16998
push userrwood@mozilla.com
push dateMon, 02 May 2016 19:42:03 +0000
testing: improve mercurial installation
create-test-environment
--- a/create-test-environment
+++ b/create-test-environment
@@ -44,13 +44,13 @@ if [ ! -d venv/hg ]; then
   hg clone http://selenic.com/repo/hg venv/hg
 fi
 
 for v in 2.5.4 2.6 2.6.1 2.6.2 2.6.3 2.7 2.7.1 2.7.2 2.8 2.8.1 2.8.2 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.1; do
   destdir=`pwd`/venv/mercurials/$v
   if [ ! -d $destdir ]; then
     cd venv/hg
     hg up $v
-    make install PREFIX=$destdir
-    make clean
+    make install-bin PREFIX=$destdir
+    hg --config extensions.purge= purge --all
     cd ../..
   fi
 done