diff mercurial/hgweb/common.py @ 41300:66102f6fa10a stable

templatekw: fix crash on multiple latesttags resolution at wdir (issue6055) It appears not easy to fix only() to support wdir(), so this patch works around the issue by getlatesttags(). The "+1" after len(changes) doesn't matter since ctx never changes while sorting. It's just for clarity.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 20 Jan 2019 11:51:21 +0900
parents d216ae4cc3f6
children 8d9322b6e687
line wrap: on
line diff