Mercurial > hg
comparison tests/test-hgweb-commands @ 6777:44c5157474e7
hgweb: protocol requests are processed immediately
This makes separation of interface/webcommands and protocol easier and will
make http repos slightly faster because there's less overhead.
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Sat, 28 Jun 2008 15:28:43 +0200 |
parents | e29557d687c9 |
children | 97e214dccaa9 |
comparison
equal
deleted
inserted
replaced
6776:39319a457dda | 6777:44c5157474e7 |
---|---|
34 echo % Overviews | 34 echo % Overviews |
35 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/tags/?style=atom' | sed "s/http:\/\/[^/]*\//http:\/\/127.0.0.1\//" | 35 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/tags/?style=atom' | sed "s/http:\/\/[^/]*\//http:\/\/127.0.0.1\//" |
36 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/summary/?style=gitweb' | sed "s/[0-9]* years ago/long ago/g" | 36 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/summary/?style=gitweb' | sed "s/[0-9]* years ago/long ago/g" |
37 | 37 |
38 echo % capabilities | 38 echo % capabilities |
39 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/capabilities' | 39 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=capabilities' |
40 echo % heads | 40 echo % heads |
41 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/heads' | 41 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=heads' |
42 echo % lookup | 42 echo % lookup |
43 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/lookup/1' | 43 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=lookup&node=1' |
44 echo % branches | 44 echo % branches |
45 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/branches' | 45 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=branches' |
46 echo % changegroup | 46 echo % changegroup |
47 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/changegroup' | 47 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=changegroup' |
48 echo % stream_out | 48 echo % stream_out |
49 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/stream_out' | 49 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=stream_out' |
50 echo % failing unbundle, requires POST request | 50 echo % failing unbundle, requires POST request |
51 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/unbundle' | 51 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=unbundle' |
52 | 52 |
53 echo % Static files | 53 echo % Static files |
54 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/static/style.css' | 54 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/static/style.css' |
55 | 55 |
56 echo % ERRORS ENCOUNTERED | 56 echo % ERRORS ENCOUNTERED |