comparison .hgsigs @ 6947:c326db109854

vcs: add support for Mercurial annotate in Mercurial 4.4 Mercurial fctx.annotate() returns tuples with two elements: info about the annotate line and the actual line. The code is changed to clarify that. After Mercurial 4.4 with https://www.mercurial-scm.org/repo/hg/rev/2e32c6a31cc7 , the info is no longer a tuple but an attr object. Assume fctx is available as an attribute, but catch exceptions and fall back to indexing as before. That can't easily be done in hgcompat, so we do it inline.
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 23 Oct 2017 00:57:28 +0200
parents 9b9258f5e2b2
children
comparison
equal deleted inserted replaced
6946:f1acd7c28157 6947:c326db109854