equal
deleted
inserted
replaced
70 d = {'node': s.hex(), 'rev': s.rev()} |
70 d = {'node': s.hex(), 'rev': s.rev()} |
71 d['user'] = s.user() |
71 d['user'] = s.user() |
72 d['date'] = s.date() |
72 d['date'] = s.date() |
73 d['description'] = s.description() |
73 d['description'] = s.description() |
74 d['branch'] = s.branch() |
74 d['branch'] = s.branch() |
75 if hasattr(s, 'path'): |
75 if util.safehasattr(s, 'path'): |
76 d['file'] = s.path() |
76 d['file'] = s.path() |
77 yield d |
77 yield d |
78 |
78 |
79 def parents(ctx, hide=None): |
79 def parents(ctx, hide=None): |
80 return _siblings(ctx.parents(), hide) |
80 return _siblings(ctx.parents(), hide) |