diff tests/test-hgweb-commands.t @ 18563:6d098adc5a46 stable

hgweb: make 'summary' work with hidden changesets (issue3810) Since the 'summary' view used by e.g. gitweb and monoblue shows both a changelog and a bookmarks list, the same changes are needed here as were made to the 'changelog' and 'bookmarks' web commands (56ca4443a343 and 886936ecc21b, respectively).
author Kevin Bullock <kbullock@ringworld.org>
date Tue, 05 Feb 2013 11:31:43 -0600
parents e8efcc8ff5c0
children 6bc76c0e60b9
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t	Tue Feb 05 12:58:21 2013 +0100
+++ b/tests/test-hgweb-commands.t	Tue Feb 05 11:31:43 2013 -0600
@@ -1399,6 +1399,14 @@
   $ grep Status search
   Status: 200 Script output follows\r (esc)
 
+summary works with filtering (issue3810)
+
+  $ PATH_INFO=/summary; export PATH_INFO
+  $ QUERY_STRING='style=monoblue'; export QUERY_STRING
+  $ python hgweb.cgi > summary.out
+  $ grep "^Status" summary.out
+  Status: 200 Script output follows\r (esc)
+
 proper status for filtered revision