##// END OF EJS Templates
hgweb: wrap {branch} and {changesetbranch} by hybridlist()...
Yuya Nishihara -
r37926:3b3d818b default
parent child Browse files
Show More
@@ -271,8 +271,8 b' def nodebranchnodefault(ctx):'
271 branches = []
271 branches = []
272 branch = ctx.branch()
272 branch = ctx.branch()
273 if branch != 'default':
273 if branch != 'default':
274 branches.append({"name": branch})
274 branches.append(branch)
275 return branches
275 return templateutil.hybridlist(branches, name='name')
276
276
277 def showtag(repo, tmpl, t1, node=nullid, **args):
277 def showtag(repo, tmpl, t1, node=nullid, **args):
278 args = pycompat.byteskwargs(args)
278 args = pycompat.byteskwargs(args)
General Comments 0
You need to be logged in to leave comments. Login now