Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
7408:f031a12dfc31 | 7409:0fa3b6677027 |
---|---|
553 "author": ctx.user(), | 553 "author": ctx.user(), |
554 "date": ctx.date(), | 554 "date": ctx.date(), |
555 "rename": webutil.renamelink(fctx), | 555 "rename": webutil.renamelink(fctx), |
556 "parent": webutil.siblings(fctx.parents()), | 556 "parent": webutil.siblings(fctx.parents()), |
557 "child": webutil.siblings(fctx.children()), | 557 "child": webutil.siblings(fctx.children()), |
558 "desc": ctx.description()}) | 558 "desc": ctx.description(), |
559 | 559 "tags": webutil.nodetagsdict(web.repo, ctx.node()), |
560 "branch": webutil.nodebranchnodefault(ctx), | |
561 "inbranch": webutil.nodeinbranch(web.repo, ctx), | |
562 "branches": webutil.nodebranchdict(web.repo, ctx)}) | |
563 | |
560 if limit > 0: | 564 if limit > 0: |
561 l = l[:limit] | 565 l = l[:limit] |
562 | 566 |
563 for e in l: | 567 for e in l: |
564 yield e | 568 yield e |