Mercurial > hg
comparison tests/test-highlight.t @ 25617:63be46407a50
hgweb: link to revision by node hash in paper & coal
Unlike other styles, paper and coal had only one link to current revision: in
the sidebar. Since those links now use symbolic revisions after 3bb6f5f478a7,
it's nice to have a link that allows going from /rev/tip to /rev/<tip hash>,
for instance. Let's make the node hash in the page header that new link.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 18 Jun 2015 17:06:18 +0800 |
parents | 3bb6f5f478a7 |
children | a74e9806d17d |
comparison
equal
deleted
inserted
replaced
25616:e0073dcec588 | 25617:63be46407a50 |
---|---|
103 </ul> | 103 </ul> |
104 </div> | 104 </div> |
105 | 105 |
106 <div class="main"> | 106 <div class="main"> |
107 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> | 107 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> |
108 <h3>view primes.py @ 0:853dcd4de2a6 <span class="tag">tip</span> </h3> | 108 <h3> |
109 view primes.py @ 0:<a href="/rev/853dcd4de2a6">853dcd4de2a6</a> | |
110 <span class="tag">tip</span> | |
111 </h3> | |
109 | 112 |
110 <form class="search" action="/log"> | 113 <form class="search" action="/log"> |
111 | 114 |
112 <p><input name="rev" id="search1" type="text" size="30" /></p> | 115 <p><input name="rev" id="search1" type="text" size="30" /></p> |
113 <div id="hint">Find changesets by keywords (author, files, the commit message), revision | 116 <div id="hint">Find changesets by keywords (author, files, the commit message), revision |
234 </ul> | 237 </ul> |
235 </div> | 238 </div> |
236 | 239 |
237 <div class="main"> | 240 <div class="main"> |
238 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> | 241 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> |
239 <h3>annotate primes.py @ 0:853dcd4de2a6 <span class="tag">tip</span> </h3> | 242 <h3> |
243 annotate primes.py @ 0:<a href="/rev/853dcd4de2a6">853dcd4de2a6</a> | |
244 <span class="tag">tip</span> | |
245 </h3> | |
240 | 246 |
241 <form class="search" action="/log"> | 247 <form class="search" action="/log"> |
242 | 248 |
243 <p><input name="rev" id="search1" type="text" size="30" /></p> | 249 <p><input name="rev" id="search1" type="text" size="30" /></p> |
244 <div id="hint">Find changesets by keywords (author, files, the commit message), revision | 250 <div id="hint">Find changesets by keywords (author, files, the commit message), revision |