Mercurial > hg
diff mercurial/policy.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 | f2342483f7a6 |
children | d8e55c0c642c |