# HG changeset patch # User Anton Shestakov # Date 2018-02-14 12:32:32 # Node ID 513d268eddfe9b6db16c2d87257b6a3a9d3440df # Parent 39b3aab6231e8fa070eadd8e165b9960f8c46076 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"). diff --git a/mercurial/templates/gitweb/map b/mercurial/templates/gitweb/map --- a/mercurial/templates/gitweb/map +++ b/mercurial/templates/gitweb/map @@ -275,7 +275,8 @@ successorlink = ' {date|rfc822date} diff --git a/mercurial/templates/monoblue/map b/mercurial/templates/monoblue/map --- a/mercurial/templates/monoblue/map +++ b/mercurial/templates/monoblue/map @@ -233,7 +233,8 @@ successorlink = ' {date|rfc822date} diff --git a/mercurial/templates/paper/map b/mercurial/templates/paper/map --- a/mercurial/templates/paper/map +++ b/mercurial/templates/paper/map @@ -213,7 +213,8 @@ successorlink = 'obsolete: - pruned + pruned by test check an obsolete changeset that has been rewritten $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=paper' | grep rewritten - rewritten as 3de5eca88c00 + rewritten as 3de5eca88c00 by test <test@example.net> $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=coal' | grep rewritten - rewritten as 3de5eca88c00 + rewritten as 3de5eca88c00 by test <test@example.net> $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=gitweb' | grep rewritten - obsoleterewritten as 3de5eca88c00 + obsoleterewritten as 3de5eca88c00 by test <test@example.net> $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=monoblue' | grep rewritten -
obsolete
rewritten as 3de5eca88c00
+
obsolete
rewritten as 3de5eca88c00 by test <test@example.net>
$ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=spartan' | grep rewritten - rewritten as 3de5eca88c00 + rewritten as 3de5eca88c00 by test <test@example.net> check changeset with instabilities