hgext3rd/topic/__init__.py
changeset 2923 8c2d3c474fc6
parent 2922 66357d4d03b2
child 2924 430fb1758d28
--- a/hgext3rd/topic/__init__.py	Sun Sep 10 22:41:54 2017 +0900
+++ b/hgext3rd/topic/__init__.py	Mon Aug 07 23:24:57 2017 +0900
@@ -320,23 +320,29 @@
 def topics(ui, repo, topic=None, clear=False, rev=None, list=False, **opts):
     """View current topic, set current topic, change topic for a set of revisions, or see all topics.
 
-    Clear topic on existing topiced revisions:
-        `hg topic --rev <related revset> --clear`
+    Clear topic on existing topiced revisions::
+
+      hg topic --rev <related revset> --clear
+
+    Change topic on some revisions::
 
-    Change topic on some revisions:
-        `hg topic <newtopicname> --rev <related revset>`
+      hg topic <newtopicname> --rev <related revset>
 
-    Clear current topic:
-        `hg topic --clear`
+    Clear current topic::
+
+      hg topic --clear
 
-    Set current topic:
-        `hg topic <topicname>`
+    Set current topic::
+
+      hg topic <topicname>
+
+    List of topics::
 
-    List of topics:
-        `hg topics`
+      hg topics
 
-    List of topics with their last touched time sorted according to it:
-        `hg topic --age`
+    List of topics with their last touched time sorted according to it::
+
+      hg topic --age
 
     The active topic (if any) will be prepended with a "*".