Mercurial > hg
view mercurial/templates/spartan/search.tmpl @ 44199:7f8bdee0034e
copies: define a type to return from mergecopies()
We'll soon return two instances of many of the dicts from
`copies.mergecopies()`. That will mean that we need to return 9
different dicts, which is clearly not manageable. This patch instead
encapsulates the 4 dicts we'll duplicate in a new type. For now, we
still just return one instance of it (plus the separate `diverge`
dict).
Differential Revision: https://phab.mercurial-scm.org/D7989
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 22 Jan 2020 14:35:30 -0800 |
parents | 47aea60d114d |
children |
line wrap: on
line source
{header} <title>{repo|escape}: searching for {query|escape}</title> </head> <body> <div class="buttons"> <a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> <a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> <a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> <a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> <a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> <a href="{url|urlescape}file{sessionvars%urlparameter}">files</a> {archives%archiveentry} <a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> </div> <h2>searching for {query|escape}</h2> <form> {sessionvars%hiddenformentry} <p> search: <input name="rev" type="text" width="30" value="{query|escape}"> </p> </form> {entries%changelogentry} <form> {sessionvars%hiddenformentry} <p> search: <input name="rev" type="text" width="30" value="{query|escape}"> </p> </form> {footer}