equal
deleted
inserted
replaced
8 > record = |
8 > record = |
9 > transplant = |
9 > transplant = |
10 > [ui] |
10 > [ui] |
11 > interactive = true |
11 > interactive = true |
12 > EOF |
12 > EOF |
|
13 |
|
14 hide outer repo |
|
15 $ hg init |
13 |
16 |
14 Run kwdemo before [keyword] files are set up |
17 Run kwdemo before [keyword] files are set up |
15 as it would succeed without uisetup otherwise |
18 as it would succeed without uisetup otherwise |
16 |
19 |
17 $ hg --quiet kwdemo |
20 $ hg --quiet kwdemo |
927 - no expansion with hgweb annotate/changeset/filediff |
930 - no expansion with hgweb annotate/changeset/filediff |
928 - check errors |
931 - check errors |
929 |
932 |
930 $ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
933 $ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
931 $ cat hg.pid >> $DAEMON_PIDS |
934 $ cat hg.pid >> $DAEMON_PIDS |
932 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/a/?style=raw' |
935 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'file/tip/a/?style=raw' |
933 200 Script output follows |
936 200 Script output follows |
934 |
937 |
935 expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $ |
938 expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $ |
936 do not process $Id: |
939 do not process $Id: |
937 xxx $ |
940 xxx $ |
938 $Xinfo: User Name <user@example.com>: firstline $ |
941 $Xinfo: User Name <user@example.com>: firstline $ |
939 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/a/?style=raw' |
942 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'annotate/tip/a/?style=raw' |
940 200 Script output follows |
943 200 Script output follows |
941 |
944 |
942 |
945 |
943 user@1: expand $Id$ |
946 user@1: expand $Id$ |
944 user@1: do not process $Id: |
947 user@1: do not process $Id: |
946 user@2: $Xinfo$ |
949 user@2: $Xinfo$ |
947 |
950 |
948 |
951 |
949 |
952 |
950 |
953 |
951 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip/?style=raw' |
954 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'rev/tip/?style=raw' |
952 200 Script output follows |
955 200 Script output follows |
953 |
956 |
954 |
957 |
955 # HG changeset patch |
958 # HG changeset patch |
956 # User User Name <user@example.com> |
959 # User User Name <user@example.com> |
966 +expand $Id$ |
969 +expand $Id$ |
967 +do not process $Id: |
970 +do not process $Id: |
968 +xxx $ |
971 +xxx $ |
969 +$Xinfo$ |
972 +$Xinfo$ |
970 |
973 |
971 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/bb948857c743/a?style=raw' |
974 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'diff/bb948857c743/a?style=raw' |
972 200 Script output follows |
975 200 Script output follows |
973 |
976 |
974 |
977 |
975 diff -r ef63ca68695b -r bb948857c743 a |
978 diff -r ef63ca68695b -r bb948857c743 a |
976 --- a/a Thu Jan 01 00:00:00 1970 +0000 |
979 --- a/a Thu Jan 01 00:00:00 1970 +0000 |