changeset 2994:1e8ac0fcd6b7

topics: spell out topics completely in help
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 25 Sep 2017 03:29:45 +0530
parents 725b660d9886
children dbc896a7a1c3
files hgext3rd/topic/__init__.py tests/test-topic.t
diffstat 2 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py	Mon Sep 25 03:23:06 2017 +0530
+++ b/hgext3rd/topic/__init__.py	Mon Sep 25 03:29:45 2017 +0530
@@ -387,19 +387,19 @@
 
     Clear topic on existing topiced revisions::
 
-      hg topic --rev <related revset> --clear
+      hg topics --rev <related revset> --clear
 
     Change topic on some revisions::
 
-      hg topic <newtopicname> --rev <related revset>
+      hg topics <newtopicname> --rev <related revset>
 
     Clear current topic::
 
-      hg topic --clear
+      hg topics --clear
 
     Set current topic::
 
-      hg topic <topicname>
+      hg topics <topicname>
 
     List of topics::
 
@@ -408,14 +408,14 @@
     List of topics sorted according to their last touched time displaying last
     touched time and the user who last touched the topic::
 
-      hg topic --age
+      hg topics --age
 
     The active topic (if any) will be prepended with a "*".
 
     The `--current` flag helps to take active topic into account. For
     example, if you want to set the topic on all the draft changesets to the
     active topic, you can do:
-        `hg topic -r "draft()" --current`
+        `hg topics -r "draft()" --current`
 
     The --verbose version of this command display various information on the state of each topic."""
 
--- a/tests/test-topic.t	Mon Sep 25 03:23:06 2017 +0530
+++ b/tests/test-topic.t	Mon Sep 25 03:29:45 2017 +0530
@@ -20,19 +20,19 @@
   
       Clear topic on existing topiced revisions:
   
-        hg topic --rev <related revset> --clear
+        hg topics --rev <related revset> --clear
   
       Change topic on some revisions:
   
-        hg topic <newtopicname> --rev <related revset>
+        hg topics <newtopicname> --rev <related revset>
   
       Clear current topic:
   
-        hg topic --clear
+        hg topics --clear
   
       Set current topic:
   
-        hg topic <topicname>
+        hg topics <topicname>
   
       List of topics:
   
@@ -41,13 +41,13 @@
       List of topics sorted according to their last touched time displaying last
       touched time and the user who last touched the topic:
   
-        hg topic --age
+        hg topics --age
   
       The active topic (if any) will be prepended with a "*".
   
       The '--current' flag helps to take active topic into account. For example,
       if you want to set the topic on all the draft changesets to the active
-      topic, you can do: 'hg topic -r "draft()" --current'
+      topic, you can do: 'hg topics -r "draft()" --current'
   
       The --verbose version of this command display various information on the
       state of each topic.