[PATCH 6 of 6] hgweb: wrap {branch} and {changesetbranch} by hybridlist()

Anton Shestakov av6 at dwimlabs.net
Wed May 9 01:29:39 EDT 2018


On Tue, 08 May 2018 22:45:33 +0900
Yuya Nishihara <yuya at tcha.org> wrote:

> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1522595199 -32400
> #      Mon Apr 02 00:06:39 2018 +0900
> # Node ID b8887d7a2962c450cb9d1aa2be447f102ae776ab
> # Parent  2fc6f64325ac21c8ed667453c1c62784a082667f
> hgweb: wrap {branch} and {changesetbranch} by hybridlist()

Queued, thanks.

> Appears that we have many {branch} variants.

Yeah, and json hgweb style has yet another "variant" of:

  if(branch, branch%changesetbranch, "default"|json)

In fact, it looks like a perfect candidate for switching to regular
templater system/keywords.

Just thinking out loud.


More information about the Mercurial-devel mailing list