[PATCH 3 of 5] hgweb: consolidate search form for gitweb

Yuya Nishihara yuya at tcha.org
Sun Jun 11 00:36:54 EDT 2017


On Fri, 09 Jun 2017 14:00:04 -0700, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1497040958 25200
> #      Fri Jun 09 13:42:38 2017 -0700
> # Node ID 47282854e7aff870a87c9e573d4ef5fdca5b894a
> # Parent  08889384494e21be250fae4d9c7b8082df31c0b2
> hgweb: consolidate search form for gitweb

> +searchform = '
> +  <form action="{url|urlescape}log">
> +    {sessionvars%hiddenformentry}
> +    <div class="search">
> +      <input type="text" name="rev"  />
> +    </div>
> +  </form>'

Same here. I'll add value="{query|escape}" in flight.


More information about the Mercurial-devel mailing list