Mercurial > evolve
diff hgext3rd/topic/__init__.py @ 2923:8c2d3c474fc6
doc: make paragraphs before example code end with "::" for reST syntax
This prevents lines in an example code from being treated as a part of
normal paragraph. For issue example, lines are folded into one
paragraph.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 07 Aug 2017 23:24:57 +0900 |
parents | 66357d4d03b2 |
children | 430fb1758d28 |
line wrap: on
line diff
--- 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 "*".