equal
deleted
inserted
replaced
539 entries=lambda **x: entries(latestonly=False, **x), |
539 entries=lambda **x: entries(latestonly=False, **x), |
540 latestentry=lambda **x: entries(latestonly=True, **x)) |
540 latestentry=lambda **x: entries(latestonly=True, **x)) |
541 |
541 |
542 @webcommand('branches') |
542 @webcommand('branches') |
543 def branches(web, req, tmpl): |
543 def branches(web, req, tmpl): |
|
544 """ |
|
545 /branches |
|
546 --------- |
|
547 |
|
548 Show information about branches. |
|
549 |
|
550 All known branches are contained in the output, even closed branches. |
|
551 |
|
552 No arguments are accepted. |
|
553 |
|
554 The ``branches`` template is rendered. |
|
555 """ |
544 tips = [] |
556 tips = [] |
545 heads = web.repo.heads() |
557 heads = web.repo.heads() |
546 parity = paritygen(web.stripecount) |
558 parity = paritygen(web.stripecount) |
547 sortkey = lambda item: (not item[1], item[0].rev()) |
559 sortkey = lambda item: (not item[1], item[0].rev()) |
548 |
560 |