# HG changeset patch # User Matt Harbison # Date 2015-03-13 03:15:06 # Node ID 567ae53657544744155897ada91f16f8af61ad8a # Parent bcc319d936a388914ef522ff380db6b536067e8a hgweb: replace 'ctx._repo' with 'ctx.repo()' diff --git a/mercurial/hgweb/webutil.py b/mercurial/hgweb/webutil.py --- a/mercurial/hgweb/webutil.py +++ b/mercurial/hgweb/webutil.py @@ -141,7 +141,7 @@ def parents(ctx, hide=None): 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):