As it turned out, not only {diff}
not passed to changelogentry.tmpl
for RSS, but the RSS template itself does not contain some of the templates needed to display diff.
I made a quick and dirty patch by adding raw diff to the Mercurial RSS template set. The patch is based on version 2.2.1 of Mercurial. It modifies the Mercurial source ( webcommands.py
) in addition to the set of RSS templates, so you end up using a fixed version of Mercurial itself, not just the templates.
The patch can be found on so-10796514 branch in my copy of the Hg repo on Bitbucket. Feel free to use it.
Here's what the modified change log looks like on my machine:
I think this can be improved from this point of view.
Helgi source share