632 (b'r', b'rev', [], b'revset of existing revisions', _(b'REV')), |
632 (b'r', b'rev', [], b'revset of existing revisions', _(b'REV')), |
633 (b'l', b'list', False, b'show the stack of changeset in the topic'), |
633 (b'l', b'list', False, b'show the stack of changeset in the topic'), |
634 (b'', b'age', False, b'show when you last touched the topics'), |
634 (b'', b'age', False, b'show when you last touched the topics'), |
635 (b'', b'current', None, b'display the current topic only'), |
635 (b'', b'current', None, b'display the current topic only'), |
636 ] + commands.formatteropts, |
636 ] + commands.formatteropts, |
637 _(b'hg topics [TOPIC]'), |
637 _(b'hg topics [OPTION]... [-r REV]... [TOPIC]'), |
638 **compat.helpcategorykwargs('CATEGORY_CHANGE_ORGANIZATION')) |
638 **compat.helpcategorykwargs('CATEGORY_CHANGE_ORGANIZATION')) |
639 def topics(ui, repo, topic=None, **opts): |
639 def topics(ui, repo, topic=None, **opts): |
640 """View current topic, set current topic, change topic for a set of revisions, or see all topics. |
640 """View current topic, set current topic, change topic for a set of revisions, or see all topics. |
641 |
641 |
642 Clear topic on existing topiced revisions:: |
642 Clear topic on existing topiced revisions:: |