##// END OF EJS Templates
schemes extension
schemes extension

File last commit:

r9964:e600ad9b default
r9966:1fa9f685 stable
Show More
test-schemes
22 lines | 305 B | text/plain | TextLexer
#!/bin/sh
cat <<EOF >> $HGRCPATH
[extensions]
schemes=
[schemes]
l = http://localhost:$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 % errors
cat errors.log