# HG changeset patch # User Matt Mackall # Date 1433971436 18000 # Node ID 9fa5b8f4e98ec55eeb93aca322e9e2c68b033501 # Parent 0b5b757ca8129f5959cc813cd2cc4db08f64918e topics: add command summary diff -r 0b5b757ca812 -r 9fa5b8f4e98e src/topic/__init__.py --- a/src/topic/__init__.py Wed Jun 10 16:20:05 2015 -0500 +++ b/src/topic/__init__.py Wed Jun 10 16:23:56 2015 -0500 @@ -64,7 +64,7 @@ 'topics', 'topic', namemap=_namemap, nodemap=_nodemap)) repo.__class__ = topicrepo -@command('topics', [ +@command('topics [TOPIC]', [ ('', 'clear', False, 'clear active topic if any'), ('', 'change', '', 'revset of existing revisions to change topic'), ]) diff -r 0b5b757ca812 -r 9fa5b8f4e98e tests/test-topic.t --- a/tests/test-topic.t Wed Jun 10 16:20:05 2015 -0500 +++ b/tests/test-topic.t Wed Jun 10 16:23:56 2015 -0500 @@ -8,7 +8,7 @@ > EOF $ hg help topics - hg topics + hg topics [TOPIC] View current topic, set current topic, or see all topics.