Show More
@@ -432,10 +432,10 def branches(web, req, tmpl): | |||||
432 | if limit > 0 and count >= limit: |
|
432 | if limit > 0 and count >= limit: | |
433 | return |
|
433 | return | |
434 | count += 1 |
|
434 | count += 1 | |
435 | if ctx.node() not in heads: |
|
435 | if not web.repo.branchheads(ctx.branch()): | |
|
436 | status = 'closed' | |||
|
437 | elif ctx.node() not in heads: | |||
436 | status = 'inactive' |
|
438 | status = 'inactive' | |
437 | elif not web.repo.branchheads(ctx.branch()): |
|
|||
438 | status = 'closed' |
|
|||
439 | else: |
|
439 | else: | |
440 | status = 'open' |
|
440 | status = 'open' | |
441 | yield {'parity': parity.next(), |
|
441 | yield {'parity': parity.next(), |
General Comments 0
You need to be logged in to leave comments.
Login now