[Bug 3783] New: Filtering breaks hg serve with secret changeset

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri Jan 25 05:11:47 CST 2013


http://bz.selenic.com/show_bug.cgi?id=3783

          Priority: normal
            Bug ID: 3783
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Filtering breaks hg serve with secret changeset
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: pierre-yves.david at logilab.fr
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.5-rc
         Component: hgweb
           Product: Mercurial

regression extracted from http://bz.selenic.com/show_bug.cgi?id=3614#c4

>  I get following error message on a repo containing secret revisions:
>  -----------------------------------------------------------------------
>  listening at http://ru:8000/ (bound to *:8000)
>  127.0.0.1 - - [24/Jan/2013 11:04:54] "GET /log HTTP/1.1" 500 -
>  127.0.0.1 - - [24/Jan/2013 11:04:54] Exception happened during processing request '/log':
>  Traceback (most recent call last):
>    File "mercurial\hgweb\server.pyc", line 77, in do_POST
>    File "mercurial\hgweb\server.pyc", line 70, in do_write
>    File "mercurial\hgweb\server.pyc", line 137, in do_hgweb
>    File "mercurial\hgweb\hgweb_mod.pyc", line 118, in __call__
>    File "mercurial\hgweb\hgweb_mod.pyc", line 229, in run_wsgi
>    File "mercurial\hgweb\webcommands.pyc", line 33, in log
>    File "mercurial\hgweb\webcommands.pyc", line 195, in changelog
>    File "mercurial\hgweb\webcommands.pyc", line 112, in _search
>  KeyError: 'rev'
>  -----------------------------------------------------------------------
>  When serving a repo without secret revisions everything works ok.
>  My setup: Windows XP + Mercurial 2.5-rc 32 bit, run "hg serve" command.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list