comparison 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
comparison
equal deleted inserted replaced
7476:6644c111f9e9 7494:85dc88630beb
14 hg --cwd b ci -Amb -d'2 0' 14 hg --cwd b ci -Amb -d'2 0'
15 15
16 hg init c 16 hg init c
17 echo c > c/c 17 echo c > c/c
18 hg --cwd c ci -Amc -d'3 0' 18 hg --cwd c ci -Amc -d'3 0'
19 root=`pwd`
19 20
20 cd b
21 hg init d
22 echo d > d/d
23 hg --cwd d ci -Amd
24 cd ..
25
26 root=`pwd`
27 cd .. 21 cd ..
28 22
29 cat > paths.conf <<EOF 23 cat > paths.conf <<EOF
30 [paths] 24 [paths]
31 a=$root/a 25 a=$root/a
83 echo % should succeed 77 echo % should succeed
84 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/?style=raw' 78 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/?style=raw'
85 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/file/tip/a?style=raw' 79 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/file/tip/a?style=raw'
86 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/b/file/tip/b?style=raw' 80 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/b/file/tip/b?style=raw'
87 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/c/file/tip/c?style=raw' 81 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/c/file/tip/c?style=raw'
88 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/b/d/rev/tip/?style=raw'
89 82
90 echo % paths errors 1 83 echo % paths errors 1
91 cat error-paths-1.log 84 cat error-paths-1.log
92 echo % paths errors 2 85 echo % paths errors 2
93 cat error-paths-2.log 86 cat error-paths-2.log