Mercurial > hg
diff mercurial/hgweb/webcommands.py @ 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 |
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: