changeset 5794:bf74edda0645

obslog: correct help to state that obslog is the command name Right now, `hg help obslog` says the following, which is a bit confusing: ``` hg olog [OPTION]... [[-r] REV]... aliases: olog ``` Since the primary command name is determined by the order the commands are defined in, and we use 'obslog' as the name for the pager, I've chosen `hg obslog` as the canonical name and am only adjusting the help string.
author Kyle Lippincott <spectral@google.com>
date Tue, 23 Feb 2021 13:31:24 -0800
parents ccc558c9c736
children df882aa33308
files CHANGELOG hgext3rd/evolve/obshistory.py
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGELOG	Tue Feb 23 06:36:46 2021 +0800
+++ b/CHANGELOG	Tue Feb 23 13:31:24 2021 -0800
@@ -7,6 +7,7 @@
  * evolve: improves content-divergence resolution that involve parent changes
  * pdiff, pstatus: drop some irrelevant command flags inherited from `hg diff`
    and `hg status` respectively
+ * obslog: clarify the command name in the help,
 
 10.2.0.post1 -- 2021-02-01
 --------------------------
--- a/hgext3rd/evolve/obshistory.py	Tue Feb 23 06:36:46 2021 +0800
+++ b/hgext3rd/evolve/obshistory.py	Tue Feb 23 13:31:24 2021 -0800
@@ -61,7 +61,7 @@
      (b'f', b'filternonlocal', False, _(b'filter out non local commits')),
      (b'o', b'origin', True, _(b'show origin of changesets instead of fate')),
      ] + commands.formatteropts,
-    _(b'hg olog [OPTION]... [[-r] REV]...'),
+    _(b'hg obslog [OPTION]... [[-r] REV]...'),
     **compat.helpcategorykwargs('CATEGORY_CHANGE_NAVIGATION'))
 def cmdobshistory(ui, repo, *revs, **opts):
     """show the obsolescence history of the specified revisions