diff tests/test-archive @ 2500:76ff5efe8181

Fixed [web] allow_archive for comma separated parameters by using ui.configlist. Changed tests/test-archive to use allow_archive instead of the deprecated allowzip, allowgz and allowbz2.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 26 Jun 2006 14:56:14 +0200
parents 0f7e4a39d9af
children 83cfd95eafb5
line wrap: on
line diff
--- a/tests/test-archive	Mon Jun 26 14:52:26 2006 +0200
+++ b/tests/test-archive	Mon Jun 26 14:56:14 2006 +0200
@@ -15,9 +15,7 @@
 hg commit -m 3
 echo "[web]" >> .hg/hgrc
 echo "name = test-archive" >> .hg/hgrc
-echo "allowzip = true" >> .hg/hgrc
-echo "allowgz = true" >> .hg/hgrc
-echo "allowbz2 = true" >> .hg/hgrc
+echo "allow_archive = gz bz2, zip" >> .hg/hgrc
 hg serve -p 20059 -d --pid-file=hg.pid
 
 TIP=`hg id -v | cut -f1 -d' '`