comparison mercurial/hgweb/webutil.py @ 7294:f933076a19fc

hgweb: pass more information about parent/child csets to templates
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Thu, 30 Oct 2008 09:46:45 +0100
parents fb42030d79d6
children bd522d09d5e3
comparison
equal deleted inserted replaced
7293:3549659450e6 7294:f933076a19fc
63 siblings = [s for s in siblings if s.node() != nullid] 63 siblings = [s for s in siblings if s.node() != nullid]
64 if len(siblings) == 1 and siblings[0].rev() == hiderev: 64 if len(siblings) == 1 and siblings[0].rev() == hiderev:
65 return 65 return
66 for s in siblings: 66 for s in siblings:
67 d = {'node': hex(s.node()), 'rev': s.rev()} 67 d = {'node': hex(s.node()), 'rev': s.rev()}
68 d['user'] = s.user()
69 d['date'] = s.date()
70 d['description'] = s.description()
68 if hasattr(s, 'path'): 71 if hasattr(s, 'path'):
69 d['file'] = s.path() 72 d['file'] = s.path()
70 d.update(args) 73 d.update(args)
71 yield d 74 yield d
72 75