Mercurial > hg
view mercurial/templates/paper/shortlog.tmpl @ 23929:a43fdf33a6be stable
commit: remove reverse search for copy source when not in parent (issue4476)
Previously, we had weird, nonsensical behavior when committing a file move
with a missing source. This removes that weird logic and tests that the bug
this strange behavior caused is fixed. Also adds a longish comment to prevent
some poor soul from accidentally re-implementing the bug in the future.
author | Ryan McElroy <rmcelroy@fb.com> |
---|---|
date | Tue, 20 Jan 2015 15:05:44 -0800 |
parents | c4f6fc4eb01e |
children | 9756f943634f |
line wrap: on
line source
{header} <title>{repo|escape}: log</title> <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}" /> <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}" /> </head> <body> <div class="container"> <div class="menu"> <div class="logo"> <a href="{logourl}"> <img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <ul> <li class="active">log</li> <li><a href="{url|urlescape}graph/{node|short}{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}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> <li><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> </ul> <ul> {archives%archiveentry} </ul> <ul> <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> </ul> <p></p> <div class="atom-logo"> <a href="{url|urlescape}atom-log" title="subscribe to atom feed"> <img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" /> </a> </div> </div> <div class="main"> <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <h3>log</h3> <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" value="{query|escape}" /></p> <div id="hint">{searchhint}</div> </form> <div class="navigate"> <a href="{url|urlescape}shortlog/{rev}{lessvars%urlparameter}">less</a> <a href="{url|urlescape}shortlog/{rev}{morevars%urlparameter}">more</a> | rev {rev}: {changenav%navshort} </div> <table class="bigtable"> <tr> <th class="age">age</th> <th class="author">author</th> <th class="description">description</th> </tr> <tbody class="stripes2"> {entries%shortlogentry} </tbody> </table> <div class="navigate"> <a href="{url|urlescape}shortlog/{rev}{lessvars%urlparameter}">less</a> <a href="{url|urlescape}shortlog/{rev}{morevars%urlparameter}">more</a> | rev {rev}: {changenav%navshort} </div> <script type="text/javascript"> ajaxScrollInit( '{url|urlescape}shortlog/%next%{sessionvars%urlparameter}', '{nextentry%"{node}"}', <!-- NEXTHASH function (htmlText, previousVal) \{ var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/); return m ? m[1] : null; }, '.bigtable > tbody:nth-of-type(2)', '<tr class="%class%">\\ <td colspan="3" style="text-align: center;">%text%</td>\\ </tr>' ); </script> </div> </div> {footer}