# HG changeset patch # User Mads Kiilerich # Date 2018-05-11 14:26:48 # Node ID cc389e91a20a5e764cb354dd7d980c978e1d9e0a # Parent 5e7bdf4fb156cfc456599a660ac14b1ab29a7da0 hg: don't provide annotate linenumber parameter - it has always defaulted to False and was removed in 4.6 diff --git a/kallithea/lib/vcs/backends/hg/changeset.py b/kallithea/lib/vcs/backends/hg/changeset.py --- a/kallithea/lib/vcs/backends/hg/changeset.py +++ b/kallithea/lib/vcs/backends/hg/changeset.py @@ -296,7 +296,7 @@ class MercurialChangeset(BaseChangeset): Returns a generator of four element tuples with lineno, sha, changeset lazy loader and line """ - annotations = self._get_filectx(path).annotate(linenumber=False) + annotations = self._get_filectx(path).annotate() if True: try: annotation_lines = [(aline.fctx, l) for aline, l in annotations]