##// END OF EJS Templates
subrepo: Subversion support
subrepo: Subversion support

File last commit:

r10070:9d1195b2 stable
r10178:cd477be6 default
Show More
test-schemes
26 lines | 426 B | text/plain | TextLexer
Alexander Solovyov
schemes extension
r9966 #!/bin/sh
cat <<EOF >> $HGRCPATH
[extensions]
schemes=
[schemes]
l = http://localhost:$HGPORT/
Alexander Solovyov
schemes: url parts are counted from 1
r10070 parts = http://{1}:$HGPORT/
Alexander Solovyov
schemes extension
r9966 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://
Alexander Solovyov
schemes: url parts are counted from 1
r10070 echo % check that {1} syntax works
hg incoming --debug parts://localhost | sed 's/[0-9]//g'
Alexander Solovyov
schemes extension
r9966 echo % errors
cat errors.log