equal
deleted
inserted
replaced
161 d['file'] = s.path() |
161 d['file'] = s.path() |
162 yield d |
162 yield d |
163 |
163 |
164 def __len__(self): |
164 def __len__(self): |
165 return len(self.siblings) |
165 return len(self.siblings) |
|
166 |
|
167 def annotate(fctx, ui): |
|
168 diffopts = patch.difffeatureopts(ui, untrusted=True, |
|
169 section='annotate', whitespace=True) |
|
170 return fctx.annotate(follow=True, linenumber=True, diffopts=diffopts) |
166 |
171 |
167 def parents(ctx, hide=None): |
172 def parents(ctx, hide=None): |
168 if isinstance(ctx, context.basefilectx): |
173 if isinstance(ctx, context.basefilectx): |
169 introrev = ctx.introrev() |
174 introrev = ctx.introrev() |
170 if ctx.changectx().rev() != introrev: |
175 if ctx.changectx().rev() != introrev: |