Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/webcommands.py @ 7409:0fa3b6677027
coal/paper: display tags and branch in filelog page
author | Benoit Allard <benoit@aeteurope.nl> |
---|---|
date | Tue, 25 Nov 2008 21:54:28 +0100 |
parents | 9fe97eea5510 |
children | f1111704061e |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Tue Nov 25 22:32:11 2008 +0100 +++ b/mercurial/hgweb/webcommands.py Tue Nov 25 21:54:28 2008 +0100 @@ -555,8 +555,12 @@ "rename": webutil.renamelink(fctx), "parent": webutil.siblings(fctx.parents()), "child": webutil.siblings(fctx.children()), - "desc": ctx.description()}) - + "desc": ctx.description(), + "tags": webutil.nodetagsdict(web.repo, ctx.node()), + "branch": webutil.nodebranchnodefault(ctx), + "inbranch": webutil.nodeinbranch(web.repo, ctx), + "branches": webutil.nodebranchdict(web.repo, ctx)}) + if limit > 0: l = l[:limit]