##// END OF EJS Templates
hgweb: wrap {inbranch} by hybridlist()...
Yuya Nishihara -
r37925:a5d16f23 default
parent child Browse files
Show More
@@ -264,8 +264,8 b' def nodeinbranch(repo, ctx):'
264 except error.RepoLookupError:
264 except error.RepoLookupError:
265 branchnode = None
265 branchnode = None
266 if branch != 'default' and branchnode != ctx.node():
266 if branch != 'default' and branchnode != ctx.node():
267 branches.append({"name": branch})
267 branches.append(branch)
268 return branches
268 return templateutil.hybridlist(branches, name='name')
269
269
270 def nodebranchnodefault(ctx):
270 def nodebranchnodefault(ctx):
271 branches = []
271 branches = []
General Comments 0
You need to be logged in to leave comments. Login now