https://bz.mercurial-scm.org/show_bug.cgi?id=5988
Bug ID: 5988 Summary: Exception on searching for `wdir()` Product: Mercurial Version: default branch Hardware: PC OS: Linux Status: UNCONFIRMED Severity: feature Priority: wish Component: hgweb Assignee: bugzi...@mercurial-scm.org Reporter: z...@zash.se CC: mercurial-devel@mercurial-scm.org Run `hg serve` Enter into the hgweb search box "wdir()" Observe traceback like this: ::1 - - [22/Sep/2018 17:13:32] Exception happened during processing request '/log?rev=wdir%28%29': Traceback (most recent call last): File "/home/zash/src/hg/mercurial/hgweb/server.py", line 102, in do_POST self.do_write() File "/home/zash/src/hg/mercurial/hgweb/server.py", line 95, in do_write self.do_hgweb() File "/home/zash/src/hg/mercurial/hgweb/server.py", line 187, in do_hgweb for chunk in self.server.application(env, self._start_response): File "/home/zash/src/hg/mercurial/hgweb/hgweb_mod.py", line 307, in run_wsgi for r in self._runwsgi(req, res, repo): File "/home/zash/src/hg/mercurial/hgweb/request.py", line 542, in sendresponse for chunk in self._bodygen: File "/home/zash/src/hg/mercurial/util.py", line 1554, in increasingchunks for chunk in source: File "/home/zash/src/hg/mercurial/templateutil.py", line 695, in flatten for j in flatten(context, mapping, i): File "/home/zash/src/hg/mercurial/templateutil.py", line 685, in flatten for i in thing: File "/home/zash/src/hg/mercurial/templateutil.py", line 958, in joinitems for x in itemiter: File "/home/zash/src/hg/mercurial/templateutil.py", line 916, in _applymap for lm in _iteroverlaymaps(context, mapping, diter): File "/home/zash/src/hg/mercurial/templateutil.py", line 902, in _iteroverlaymaps for i, nm in enumerate(newmappings): File "/home/zash/src/hg/mercurial/hgweb/webcommands.py", line 301, in changelist lm = webutil.commonentry(web.repo, ctx) File "/home/zash/src/hg/mercurial/hgweb/webutil.py", line 426, in commonentry 'node': hex(node), TypeError: b2a_hex() argument 1 must be string or buffer, not None -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel