##// END OF EJS Templates
keyword: restore kwtemplater.restrict at the end of wrapped patch.diff...
keyword: restore kwtemplater.restrict at the end of wrapped patch.diff Before this patch, kwdiff doesn't restore kwtemplater.restrict after invocation of wrapped patch.diff(). This suppresses keyword expansion at subsequent filelog.read(). Typical usecase of this issue is "hg cat" after "hg diff" with command server. In this case, kwtemplater.restrict=True is kept in command server process even after "hg diff". To ensure kwtemplater.restrict=True while original patch.diff() running, this patch makes kwdiff() yield values returned by it, because it returns generator object. Strictly speaking, if filelog.read() is invoked before completely evaluating the result of previous patch.diff(), keyword expansion is still suppressed, because kwtemplater.restrict isn't restored yet. But this fixing should be reasonable enough, because patch.diff() is consumed immediately, AFAIK.

File last commit:

r32758:cba4461a default
r33063:7f569ce3 default
Show More
bookmarks.tmpl
53 lines | 1.4 KiB | application/x-cheetah | CheetahLexer
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597 {header}
<title>{repo|escape}: bookmarks</title>
<link rel="alternate" type="application/atom+xml"
Thomas Arendsen Hein
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names...
r18526 href="{url|urlescape}atom-bookmarks" title="Atom feed for {repo|escape}: bookmarks" />
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597 <link rel="alternate" type="application/rss+xml"
Thomas Arendsen Hein
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names...
r18526 href="{url|urlescape}rss-bookmarks" title="RSS feed for {repo|escape}: bookmarks" />
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597 </head>
<body>
<div class="container">
<div class="menu">
<div class="logo">
Steven Stallion
hgweb: support alternate logo url...
r13964 <a href="{logourl}">
Thomas Arendsen Hein
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names...
r18526 <img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a>
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597 </div>
<ul>
Thomas Arendsen Hein
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names...
r18526 <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>
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597 <li class="active">bookmarks</li>
Thomas Arendsen Hein
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names...
r18526 <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li>
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597 </ul>
<ul>
Thomas Arendsen Hein
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names...
r18526 <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597 </ul>
Angel Ezquerra
hgweb: add (Atom) subscribe link to the main paper template pages...
r18200 <div class="atom-logo">
Thomas Arendsen Hein
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names...
r18526 <a href="{url|urlescape}atom-bookmarks" title="subscribe to atom feed">
Anton Shestakov
hgweb: close <img> elements...
r23830 <img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" />
Angel Ezquerra
hgweb: add (Atom) subscribe link to the main paper template pages...
r18200 </a>
</div>
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597 </div>
<div class="main">
Angel Ezquerra <angel.ezquerra at gmail.com>
hgweb: add a "URL breadcrumb" to the index and repository pages...
r18258 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597 <h3>bookmarks</h3>
Gregory Szorc
hgweb: consolidate search form for paper...
r32758 {searchform}
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597
<table class="bigtable">
Anton Shestakov
hgweb: replace implicit <tbody> with explicit <thead> where appropriate...
r24054 <thead>
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597 <tr>
<th>bookmark</th>
<th>node</th>
</tr>
Anton Shestakov
hgweb: replace implicit <tbody> with explicit <thead> where appropriate...
r24054 </thead>
Alexander Plavin
hgweb: make stripes in bookmark list with CSS
r19446 <tbody class="stripes2">
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597 {entries%bookmarkentry}
Alexander Plavin
hgweb: make stripes in bookmark list with CSS
r19446 </tbody>
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597 </table>
</div>
</div>
{footer}