# HG changeset patch # User Matt Harbison # Date 1426216506 14400 # Node ID 567ae53657544744155897ada91f16f8af61ad8a # Parent bcc319d936a388914ef522ff380db6b536067e8a hgweb: replace 'ctx._repo' with 'ctx.repo()' diff -r bcc319d936a3 -r 567ae5365754 mercurial/hgweb/webutil.py --- 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):