##// END OF EJS Templates
branchmap: remove the dict interface from the branchcache class (API)...
branchmap: remove the dict interface from the branchcache class (API) The current branchmap computation involves reading the whole branchmap from disk, validating all the nodes even if they are not required. This leads to a lot of time on repos which have large branchmap or a lot of branches. On large repos, this can validate around 1000's of nodes. On some operations, like finding whether a branch exists or not, we don't need to validate all the nodes. Or updating heads for a single branch. Before this patch, branchcache class was having dict interface and it was hard to keep track of reads. This patch removes the dict interface. Upcoming patches will implement lazy loading and validation of data and implement better API's. Differential Revision: https://phab.mercurial-scm.org/D6151

File last commit:

r32758:cba4461a default
r42168:624d6683 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}