##// END OF EJS Templates
static-http: disable lazy parsing...
static-http: disable lazy parsing This only hits if you're crazy enough to use static-http on a repository with revlogs larger than 1M. Don't do it.

File last commit:

r11154:17031fea stable
r11155:245a67fe default
Show More
test-schemes
26 lines | 426 B | text/plain | TextLexer
#!/bin/sh
cat <<EOF >> $HGRCPATH
[extensions]
schemes=
[schemes]
l = http://localhost:$HGPORT/
parts = http://{1}:$HGPORT/
EOF
hg init test
cd test
echo a > a
hg ci -Am initial
hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
cat hg.pid >> $DAEMON_PIDS
hg incoming l://
echo % check that {1} syntax works
hg incoming --debug parts://localhost | sed 's/[0-9]//g'
echo % errors
cat errors.log