comparison mercurial/templates/paper/map @ 36195:513d268eddfe

hgweb: show users recorded in obsolescence markers It's useful to see who obsoleted a commit, because it's not always done by its author (hg-committed is a good example, because people rebase stacks of commits made by various people). Usernames are obfuscated, but look correct (e.g. "test" is "test").
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 14 Feb 2018 20:32:32 +0800
parents 4c7ae95e1c71
children 7ec5925c971e
comparison
equal deleted inserted replaced
36194:39b3aab6231e 36195:513d268eddfe
211 211
212 successorlink = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> ' 212 successorlink = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
213 obsfatesuccessors = '{if(successors, ' as ')}{successors%successorlink}' 213 obsfatesuccessors = '{if(successors, ' as ')}{successors%successorlink}'
214 obsfateverb = '{obsfateverb(successors, markers)}' 214 obsfateverb = '{obsfateverb(successors, markers)}'
215 obsfateoperations = '{if(obsfateoperations(markers), ' using {join(obsfateoperations(markers), ', ')}')}' 215 obsfateoperations = '{if(obsfateoperations(markers), ' using {join(obsfateoperations(markers), ', ')}')}'
216 obsfateentry = '{obsfateverb}{obsfateoperations}{obsfatesuccessors}' 216 obsfateusers = '{if(obsfateusers(markers), ' by {join(obsfateusers(markers)%'{user|obfuscate}', ', ')}')}'
217 obsfateentry = '{obsfateverb}{obsfateoperations}{obsfatesuccessors}{obsfateusers}'
217 218
218 filediffparent = ' 219 filediffparent = '
219 <tr> 220 <tr>
220 <th class="parent">parent {rev}:</th> 221 <th class="parent">parent {rev}:</th>
221 <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> 222 <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>