Submitter | Yuya Nishihara |
---|---|
Date | May 8, 2018, 1:45 p.m. |
Message ID | <2fc6f64325ac21c8ed66.1525787132@mimosa> |
Download | mbox | patch |
Permalink | /patch/31379/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/hgweb/webutil.py b/mercurial/hgweb/webutil.py --- a/mercurial/hgweb/webutil.py +++ b/mercurial/hgweb/webutil.py @@ -264,8 +264,8 @@ def nodeinbranch(repo, ctx): except error.RepoLookupError: branchnode = None if branch != 'default' and branchnode != ctx.node(): - branches.append({"name": branch}) - return branches + branches.append(branch) + return templateutil.hybridlist(branches, name='name') def nodebranchnodefault(ctx): branches = []