https://bz.mercurial-scm.org/show_bug.cgi?id=6826

            Bug ID: 6826
           Summary: Show topics in hgweb
           Product: Mercurial
           Version: 6.3.1
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: evolution
          Assignee: bugzi...@mercurial-scm.org
          Reporter: z...@zash.se
                CC: mercurial-de...@mercurial-scm.org,
                    pierre-yves.da...@ens-lyon.org
    Python Version: ---

Topics are currently not show in hgweb. It would be nice if they were, when the
topic extension is enabled.

Currently it seems to be non-trivial to add to a custom theme:

`{topic}` produces the empty string

`{extra.topic}` produces this error:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mercurial/templateutil.py", line 1128,
in runmember
    return d.getmember(context, mapping, memb)
  File "/usr/lib/python3/dist-packages/mercurial/templateutil.py", line 183, in
getmember
    raise error.ParseError(_(b'%r is not a dictionary') % self._value)
mercurial.error.ParseError: {b'branch': b'default', b'rebase_source':
b'8bd8d9b59169a4a14276012f1f7fa49a2de33d6b', b'topic': b'http-override-cors'}
is not a dictionary

However `{extra|json}` does result in an object containing a 'topic' member, so
the data is there.

evolve 10.5.3
topic 0.24.2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to