2263 > wsgicgi.launch(app) |
2263 > wsgicgi.launch(app) |
2264 > HGWEB |
2264 > HGWEB |
2265 $ . "$TESTDIR/cgienv" |
2265 $ . "$TESTDIR/cgienv" |
2266 $ PATH_INFO=/bookmarks; export PATH_INFO |
2266 $ PATH_INFO=/bookmarks; export PATH_INFO |
2267 $ QUERY_STRING='style=raw' |
2267 $ QUERY_STRING='style=raw' |
2268 $ python hgweb.cgi | grep -v ETag: |
2268 $ $PYTHON hgweb.cgi | grep -v ETag: |
2269 Status: 200 Script output follows\r (esc) |
2269 Status: 200 Script output follows\r (esc) |
2270 Content-Type: text/plain; charset=ascii\r (esc) |
2270 Content-Type: text/plain; charset=ascii\r (esc) |
2271 \r (esc) |
2271 \r (esc) |
2272 |
2272 |
2273 listbookmarks hides secret bookmarks |
2273 listbookmarks hides secret bookmarks |
2274 |
2274 |
2275 $ PATH_INFO=/; export PATH_INFO |
2275 $ PATH_INFO=/; export PATH_INFO |
2276 $ QUERY_STRING='cmd=listkeys&namespace=bookmarks' |
2276 $ QUERY_STRING='cmd=listkeys&namespace=bookmarks' |
2277 $ python hgweb.cgi |
2277 $ $PYTHON hgweb.cgi |
2278 Status: 200 Script output follows\r (esc) |
2278 Status: 200 Script output follows\r (esc) |
2279 Content-Type: application/mercurial-0.1\r (esc) |
2279 Content-Type: application/mercurial-0.1\r (esc) |
2280 Content-Length: 0\r (esc) |
2280 Content-Length: 0\r (esc) |
2281 \r (esc) |
2281 \r (esc) |
2282 |
2282 |
2283 search works with filtering |
2283 search works with filtering |
2284 |
2284 |
2285 $ PATH_INFO=/log; export PATH_INFO |
2285 $ PATH_INFO=/log; export PATH_INFO |
2286 $ QUERY_STRING='rev=babar' |
2286 $ QUERY_STRING='rev=babar' |
2287 $ python hgweb.cgi > search |
2287 $ $PYTHON hgweb.cgi > search |
2288 $ grep Status search |
2288 $ grep Status search |
2289 Status: 200 Script output follows\r (esc) |
2289 Status: 200 Script output follows\r (esc) |
2290 |
2290 |
2291 summary works with filtering (issue3810) |
2291 summary works with filtering (issue3810) |
2292 |
2292 |
2293 $ PATH_INFO=/summary; export PATH_INFO |
2293 $ PATH_INFO=/summary; export PATH_INFO |
2294 $ QUERY_STRING='style=monoblue'; export QUERY_STRING |
2294 $ QUERY_STRING='style=monoblue'; export QUERY_STRING |
2295 $ python hgweb.cgi > summary.out |
2295 $ $PYTHON hgweb.cgi > summary.out |
2296 $ grep "^Status" summary.out |
2296 $ grep "^Status" summary.out |
2297 Status: 200 Script output follows\r (esc) |
2297 Status: 200 Script output follows\r (esc) |
2298 |
2298 |
2299 proper status for filtered revision |
2299 proper status for filtered revision |
2300 |
2300 |
2301 |
2301 |
2302 (missing rev) |
2302 (missing rev) |
2303 |
2303 |
2304 $ PATH_INFO=/rev/5; export PATH_INFO |
2304 $ PATH_INFO=/rev/5; export PATH_INFO |
2305 $ QUERY_STRING='style=raw' |
2305 $ QUERY_STRING='style=raw' |
2306 $ python hgweb.cgi #> search |
2306 $ $PYTHON hgweb.cgi #> search |
2307 Status: 404 Not Found\r (esc) |
2307 Status: 404 Not Found\r (esc) |
2308 ETag: W/"*"\r (glob) (esc) |
2308 ETag: W/"*"\r (glob) (esc) |
2309 Content-Type: text/plain; charset=ascii\r (esc) |
2309 Content-Type: text/plain; charset=ascii\r (esc) |
2310 \r (esc) |
2310 \r (esc) |
2311 |
2311 |
2343 grafting 5:aed2d9c1d0e7 "5" |
2343 grafting 5:aed2d9c1d0e7 "5" |
2344 (turning the initial root secret (filtered)) |
2344 (turning the initial root secret (filtered)) |
2345 $ hg phase --force --secret 0 |
2345 $ hg phase --force --secret 0 |
2346 $ PATH_INFO=/graph/; export PATH_INFO |
2346 $ PATH_INFO=/graph/; export PATH_INFO |
2347 $ QUERY_STRING='' |
2347 $ QUERY_STRING='' |
2348 $ python hgweb.cgi | grep Status |
2348 $ $PYTHON hgweb.cgi | grep Status |
2349 Status: 200 Script output follows\r (esc) |
2349 Status: 200 Script output follows\r (esc) |
2350 (check rendered revision) |
2350 (check rendered revision) |
2351 $ QUERY_STRING='style=raw' |
2351 $ QUERY_STRING='style=raw' |
2352 $ python hgweb.cgi | grep -v ETag |
2352 $ $PYTHON hgweb.cgi | grep -v ETag |
2353 Status: 200 Script output follows\r (esc) |
2353 Status: 200 Script output follows\r (esc) |
2354 Content-Type: text/plain; charset=ascii\r (esc) |
2354 Content-Type: text/plain; charset=ascii\r (esc) |
2355 \r (esc) |
2355 \r (esc) |
2356 |
2356 |
2357 # HG graph |
2357 # HG graph |