diff mercurial/config.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 48378d0e9479
children 4ad002b2584d
line wrap: on
line diff