[issue218] filediff is not available for gitweb

Thomas Arendsen Hein mercurial-bugs at selenic.com
Tue Apr 25 17:47:35 UTC 2006


New submission from Thomas Arendsen Hein <thomas at intevation.de>:

e.g. on
http://hg.intevation.org/mercurial/?fd=404484c9628e;file=mercurial/sshrepo.py;style=gitweb
(works without ;style=gitweb)

Traceback (most recent call last):
  File "/home/hg/pub/hgwebdir.cgi", line 35, in ?
    hgweb.hgwebdir([isinstance(repo, tuple) and repo or (repo, repo)
  File "/home/hg/lib/python/mercurial/hgweb.py", line 1077, in run
    hgweb(real).run(req)
  File "/home/hg/lib/python/mercurial/hgweb.py", line 819, in run
    req.form['node'][0]))
  File "/home/hg/lib/python/mercurial/hgweb.py", line 82, in write
    for part in thing:
  File "/home/hg/lib/python/mercurial/hgweb.py", line 695, in filediff
    diff=diff)
  File "/home/hg/lib/python/mercurial/templater.py", line 108, in __call__
    tmpl = self.cache[t] = file(self.map[t]).read()
KeyError: 'filediff'

----------
messages: 1070
nosy: ThomasAH
priority: feature
status: unread
title: filediff is not available for gitweb
topic: hgweb

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue218>
____________________________________________________




More information about the Mercurial mailing list