Mercurial > evolve
diff tests/test-topic.t @ 2717:ed45a5fb4452
topics: update the help for `hg topics` describing ways to use the command
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 06 Jul 2017 03:56:36 +0530 |
parents | f19b314d8475 |
children | b6fa7b3e13d4 |
line wrap: on
line diff
--- a/tests/test-topic.t Fri Jul 07 01:01:01 2017 +0200 +++ b/tests/test-topic.t Thu Jul 06 03:56:36 2017 +0530 @@ -15,7 +15,25 @@ $ hg help topics hg topics [TOPIC] - View current topic, set current topic, or see all topics. + 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' + + Change topic on some revisions: + 'hg topic <newtopicname> --rev <related revset>' + + Clear current topic: + 'hg topic --clear' + + Set current topic: + 'hg topic <topicname>' + + List of topics: + 'hg topics' + + The active topic (if any) will be prepended with a "*". The --verbose version of this command display various information on the state of each topic.