diff tests/test-hgwebdir @ 7494:85dc88630beb

util: disable walkrepo() recursive behaviour Revert b1aea76f700 and 268c582bd42a for performances reasons. Traversing checkout working directories may be too expensive.
author Patrick Mezard <pmezard@gmail.com>
date Wed, 10 Dec 2008 00:16:12 +0100
parents 79d1bb737c16
children e60aaae83323
line wrap: on
line diff
--- a/tests/test-hgwebdir	Sat Dec 06 20:10:31 2008 +0100
+++ b/tests/test-hgwebdir	Wed Dec 10 00:16:12 2008 +0100
@@ -16,14 +16,8 @@
 hg init c
 echo c > c/c
 hg --cwd c ci -Amc -d'3 0'
+root=`pwd`
 
-cd b
-hg init d
-echo d > d/d
-hg --cwd d ci -Amd
-cd ..
-
-root=`pwd`
 cd ..
 
 cat > paths.conf <<EOF
@@ -85,7 +79,6 @@
 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/file/tip/a?style=raw'
 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/b/file/tip/b?style=raw'
 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/c/file/tip/c?style=raw'
-"$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/b/d/rev/tip/?style=raw'
 
 echo % paths errors 1
 cat error-paths-1.log