Mercurial > hg-stable
diff tests/test-schemes @ 9966:1fa9f6850dee stable
schemes extension
author | Alexander Solovyov <piranha@piranha.org.ua> |
---|---|
date | Tue, 24 Nov 2009 17:48:23 +0200 |
parents | |
children | 9d1195b2f00d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-schemes Tue Nov 24 17:48:23 2009 +0200 @@ -0,0 +1,22 @@ +#!/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