Mercurial > hg
changeset 24340:567ae5365754
hgweb: replace 'ctx._repo' with 'ctx.repo()'
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 12 Mar 2015 23:15:06 -0400 |
parents | bcc319d936a3 |
children | 616c01b69898 |
files | mercurial/hgweb/webutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/webutil.py Thu Mar 12 23:18:20 2015 -0400 +++ b/mercurial/hgweb/webutil.py Thu Mar 12 23:15:06 2015 -0400 @@ -141,7 +141,7 @@ if isinstance(ctx, context.basefilectx): introrev = ctx.introrev() if ctx.changectx().rev() != introrev: - return _siblings([ctx._repo[introrev]], hide) + return _siblings([ctx.repo()[introrev]], hide) return _siblings(ctx.parents(), hide) def children(ctx, hide=None):