Mercurial > hg
changeset 38214:2aa0217bb655
hgweb: fill {rename} even if ?linerange is specified
Otherwise, {rename % ...} would fail.
Hopefully this is the last hgweb patch so I can start fixing templater
stuff.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 21 Apr 2018 17:31:03 +0900 |
parents | c3df415037cd |
children | f715faeaceee |
files | mercurial/hgweb/webcommands.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Wed Apr 04 20:53:16 2018 +0900 +++ b/mercurial/hgweb/webcommands.py Sat Apr 21 17:31:03 2018 +0900 @@ -1097,6 +1097,7 @@ 'file': path, 'diff': diffs, 'linerange': webutil.formatlinerange(*lr), + 'rename': templateutil.mappinglist([]), }) entries.append(lm) if i == revcount: