# HG changeset patch # User Christian Ebert # Date 1206894325 -7200 # Node ID 0884558504a3e5736219de6ede71b03b5d22cb4e # Parent d830cdde0ddb0edad0d542a7c126cf494e8ecbc9 (0.9.2compat) add test for web changeset web filediff has no backwards compatible url, so omit. Also remove clone updating status from new hg versions. diff -r d830cdde0ddb -r 0884558504a3 tests/test-keyword --- a/tests/test-keyword Sun Mar 30 17:13:02 2008 +0200 +++ b/tests/test-keyword Sun Mar 30 18:25:25 2008 +0200 @@ -215,7 +215,8 @@ echo % clone to test incoming cd .. -hg clone -r1 Test Test-a +# remove updating status for backwards compatibility +hg clone -r1 Test Test-a | grep -v 'working directory' cd Test-a cat <> .hg/hgrc [paths] @@ -277,3 +278,12 @@ cat a b echo % hg cat hg cat a b + +echo % hg serve +test -n "$HGPORT" || export HGPORT=20063 +hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log +cat hg.pid >> $DAEMON_PIDS +echo % hgweb changeset +("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip/?style=raw') +echo % errors encountered +cat errors.log diff -r d830cdde0ddb -r 0884558504a3 tests/test-keyword.out --- a/tests/test-keyword.out Sun Mar 30 17:13:02 2008 +0200 +++ b/tests/test-keyword.out Sun Mar 30 18:25:25 2008 +0200 @@ -316,3 +316,24 @@ xxx $ $Xinfo$ ignore $Id$ +% hg serve +% hgweb changeset +200 Script output follows + + +# HG changeset patch +# User User Name +# Date 3 0 +# Node ID 93c8b61c99cd3081911aaa80cbeef1061a11c97a +# Parent 9ea11ce3ca13e750b2187a042a5a92c302cf043f +xa + +--- /dev/null Thu Jan 01 00:00:00 1970 +0000 ++++ b/x/a Thu Jan 01 00:00:03 1970 +0000 +@@ -0,0 +1,4 @@ ++expand $Id$ ++do not process $Id: ++xxx $ ++$Xinfo$ + +% errors encountered