Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/webutil.py @ 37068:b235bde38a83
annotate: drop linenumber flag from fctx.annotate() (API)
Now linenumber=True is fast enough to be enabled by default.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 13 Mar 2018 22:18:06 +0900 |
parents | c97b936d8bb5 |
children | 724f2e21d870 |
line wrap: on
line diff
--- a/mercurial/hgweb/webutil.py Mon Mar 12 20:45:10 2018 +0900 +++ b/mercurial/hgweb/webutil.py Tue Mar 13 22:18:06 2018 +0900 @@ -187,7 +187,7 @@ def annotate(req, fctx, ui): diffopts = difffeatureopts(req, ui, 'annotate') - return fctx.annotate(follow=True, linenumber=True, diffopts=diffopts) + return fctx.annotate(follow=True, diffopts=diffopts) def parents(ctx, hide=None): if isinstance(ctx, context.basefilectx):