Mercurial > hg
diff mercurial/templates/gitweb/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 |
line wrap: on
line diff
--- a/mercurial/templates/gitweb/map Wed Feb 14 14:12:05 2018 +0100 +++ b/mercurial/templates/gitweb/map Wed Feb 14 20:32:32 2018 +0800 @@ -275,7 +275,8 @@ obsfatesuccessors = '{if(successors, ' as ')}{successors%successorlink}' obsfateverb = '{obsfateverb(successors, markers)}' obsfateoperations = '{if(obsfateoperations(markers), ' using {join(obsfateoperations(markers), ', ')}')}' -obsfateentry = '{obsfateverb}{obsfateoperations}{obsfatesuccessors}' +obsfateusers = '{if(obsfateusers(markers), ' by {join(obsfateusers(markers)%'{user|obfuscate}', ', ')}')}' +obsfateentry = '{obsfateverb}{obsfateoperations}{obsfatesuccessors}{obsfateusers}' shortlogentry = ' <tr class="parity{parity}"> <td class="age"><i class="age">{date|rfc822date}</i></td>