##// END OF EJS Templates
hgweb: replace 'ctx._repo' with 'ctx.repo()'
Matt Harbison -
r24340:567ae536 default
parent child Browse files
Show More
@@ -141,7 +141,7 b' def parents(ctx, hide=None):'
141 if isinstance(ctx, context.basefilectx):
141 if isinstance(ctx, context.basefilectx):
142 introrev = ctx.introrev()
142 introrev = ctx.introrev()
143 if ctx.changectx().rev() != introrev:
143 if ctx.changectx().rev() != introrev:
144 return _siblings([ctx._repo[introrev]], hide)
144 return _siblings([ctx.repo()[introrev]], hide)
145 return _siblings(ctx.parents(), hide)
145 return _siblings(ctx.parents(), hide)
146
146
147 def children(ctx, hide=None):
147 def children(ctx, hide=None):
General Comments 0
You need to be logged in to leave comments. Login now