comparison mercurial/templates/monoblue/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
231 alltags = '<span class="logtags">{phasetag}{obsoletetag}{instabilities%instabilitytag}{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span>' 231 alltags = '<span class="logtags">{phasetag}{obsoletetag}{instabilities%instabilitytag}{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span>'
232 successorlink = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> ' 232 successorlink = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
233 obsfatesuccessors = '{if(successors, ' as ')}{successors%successorlink}' 233 obsfatesuccessors = '{if(successors, ' as ')}{successors%successorlink}'
234 obsfateverb = '{obsfateverb(successors, markers)}' 234 obsfateverb = '{obsfateverb(successors, markers)}'
235 obsfateoperations = '{if(obsfateoperations(markers), ' using {join(obsfateoperations(markers), ', ')}')}' 235 obsfateoperations = '{if(obsfateoperations(markers), ' using {join(obsfateoperations(markers), ', ')}')}'
236 obsfateentry = '{obsfateverb}{obsfateoperations}{obsfatesuccessors}' 236 obsfateusers = '{if(obsfateusers(markers), ' by {join(obsfateusers(markers)%'{user|obfuscate}', ', ')}')}'
237 obsfateentry = '{obsfateverb}{obsfateoperations}{obsfatesuccessors}{obsfateusers}'
237 shortlogentry = ' 238 shortlogentry = '
238 <tr class="parity{parity}"> 239 <tr class="parity{parity}">
239 <td class="nowrap age">{date|rfc822date}</td> 240 <td class="nowrap age">{date|rfc822date}</td>
240 <td>{author|person}</td> 241 <td>{author|person}</td>
241 <td> 242 <td>