mercurial/hgweb/webutil.py
changeset 24340 567ae5365754
parent 24306 6ddc86eedc3b
child 24564 5ec4bda3097a
--- 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):