Make make-index ignore template branch.

The template branch is used to create new publications. It is not a
publication on its own. Ignore this branch when making the root
publications index.

Change-Id: I90098c120b958025568b942c9f4132faa2a10079
This commit is contained in:
Clark Boylan 2013-09-12 14:08:39 -07:00
parent 54db26ddd0
commit b90c8d8cd5

View File

@ -46,6 +46,8 @@ previous = ''
for branch in git_branches():
if branch.startswith('remotes/origin/master'):
continue
if branch.startswith('remotes/origin/template'):
continue
if branch.startswith('remotes/origin/HEAD'):
continue
if '->' in branch: