Mercurial > public > mercurial-scm > hg
diff mercurial/templates/gitweb/changeset.tmpl @ 25616:e0073dcec588
hgweb: link to revision by node hash in gitweb & monoblue
This allows going from /rev/tip to /rev/<tip hash> with ease.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 18 Jun 2015 16:14:10 +0800 |
parents | dd89304687a3 |
children | 2239626369f5 |
line wrap: on
line diff
--- a/mercurial/templates/gitweb/changeset.tmpl Tue Jun 16 23:14:45 2015 -0400 +++ b/mercurial/templates/gitweb/changeset.tmpl Thu Jun 18 16:14:10 2015 +0800 @@ -35,7 +35,10 @@ <tr><td>author</td><td>{author|obfuscate}</td></tr> <tr><td></td><td class="date age">{date|rfc822date}</td></tr> {branch%changesetbranch} -<tr><td>changeset {rev}</td><td style="font-family:monospace">{node|short}</td></tr> +<tr> + <td>changeset {rev}</td> + <td style="font-family:monospace"><a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> +</tr> {ifeq(count(parent), '2', parent%changesetparentdiff, parent%changesetparent)} {child%changesetchild} </table></div>