Mercurial > hg
view mercurial/templates/paper/search.tmpl @ 41618:e834f6f6f221
patch: pass in context objects into diffhunks() (API)
It's a pretty low-level function and having the contexts in
patch.diff() makes future patches easier.
Differential Revision: https://phab.mercurial-scm.org/D5891
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 06 Feb 2019 17:27:43 -0800 |
parents | 47aea60d114d |
children |
line wrap: on
line source
{header} <title>{repo|escape}: searching for {query|escape}</title> </head> <body> <div class="container"> <div class="menu"> <div class="logo"> <a href="{logourl}"> <img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a> </div> <ul> <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li> <li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li> <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> </div> <div class="main"> <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>searching for '{query|escape}'</h3> <p> Assuming {modedesc}. {if(showforcekw, '<a href="{url|urlescape}log?rev={query|urlescape}&forcekw=1"> Use {showforcekw}</a> instead.')} {if(showunforcekw, '<a href="{url|urlescape}log?rev={query|urlescape}"> Use {showunforcekw}</a> instead.')} </p> {searchform} <div class="navigate"> <a href="{url|urlescape}log{lessvars%urlparameter}">less</a> <a href="{url|urlescape}log{morevars%urlparameter}">more</a> </div> <table class="bigtable"> <thead> <tr> <th class="age">age</th> <th class="author">author</th> <th class="description">description</th> </tr> </thead> <tbody class="stripes2"> {entries%changelogentry} </tbody> </table> <div class="navigate"> <a href="{url|urlescape}log{lessvars%urlparameter}">less</a> <a href="{url|urlescape}log{morevars%urlparameter}">more</a> </div> </div> </div> {footer}