comparison tests/test-hgweb-commands.t @ 18497:a58d8936647a stable

hgweb: prevent traceback during search when filtered (issue3783) The search needs to iterate over the repo using changelog.revs like the rest of the Mercurial code.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Tue, 29 Jan 2013 16:44:51 +0100
parents d1c13a4dc638
children 0c51532ec233
comparison
equal deleted inserted replaced
18496:d1c13a4dc638 18497:a58d8936647a
1390 1390
1391 $ PATH_INFO=/; export PATH_INFO 1391 $ PATH_INFO=/; export PATH_INFO
1392 $ QUERY_STRING='cmd=listkeys&namespace=bookmarks' 1392 $ QUERY_STRING='cmd=listkeys&namespace=bookmarks'
1393 $ python hgweb.cgi 1393 $ python hgweb.cgi
1394 1394
1395 search works with filtering
1396
1397 $ PATH_INFO=/log; export PATH_INFO
1398 $ QUERY_STRING='rev=babar'
1399 $ python hgweb.cgi > search
1400 $ grep Status search
1401 Status: 200 Script output follows\r (esc)
1402
1395 $ cd .. 1403 $ cd ..