Commit dab19b03 authored by Steve Borho's avatar Steve Borho
Browse files

repofilter: respect deadbranch configuration in branch drop-down

parent 3392f4fe90bc
......@@ -134,8 +134,9 @@ class RepoFilterBar(QToolBar):
openbrnodes = []
for br in allbranches.iterkeys():
openbrnodes.extend(self._repo.branchheads(br, closed=False))
dead = self._repo.deadbranches
return sorted(br for br, n in allbranches.iteritems()
if n in openbrnodes)
if n in openbrnodes and br not in dead)
branches = list(iterbranches(all=self._cbranchAction.isChecked()))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment