Mercurial > hg
comparison mercurial/hgweb/webutil.py @ 7717:f9ba30cb7ee4
hgweb: expose sibling branches to templater
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Mon, 26 Jan 2009 15:52:10 +0100 |
parents | 06cf09c822c4 |
children | 46293a0c7e9f |
comparison
equal
deleted
inserted
replaced
7716:4ad12930a459 | 7717:f9ba30cb7ee4 |
---|---|
65 for s in siblings: | 65 for s in siblings: |
66 d = {'node': hex(s.node()), 'rev': s.rev()} | 66 d = {'node': hex(s.node()), 'rev': s.rev()} |
67 d['user'] = s.user() | 67 d['user'] = s.user() |
68 d['date'] = s.date() | 68 d['date'] = s.date() |
69 d['description'] = s.description() | 69 d['description'] = s.description() |
70 d['branch'] = s.branch() | |
70 if hasattr(s, 'path'): | 71 if hasattr(s, 'path'): |
71 d['file'] = s.path() | 72 d['file'] = s.path() |
72 yield d | 73 yield d |
73 | 74 |
74 def parents(ctx, hide=None): | 75 def parents(ctx, hide=None): |