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 [TOPIC]'), |
|
638 **compat.helpcategorykwargs('CATEGORY_CHANGE_ORGANIZATION')) |
638 def topics(ui, repo, topic=None, **opts): |
639 def topics(ui, repo, topic=None, **opts): |
639 """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. |
640 |
641 |
641 Clear topic on existing topiced revisions:: |
642 Clear topic on existing topiced revisions:: |
642 |
643 |
775 |
776 |
776 @command(b'stack', [ |
777 @command(b'stack', [ |
777 (b'c', b'children', None, |
778 (b'c', b'children', None, |
778 _(b'display data about children outside of the stack')) |
779 _(b'display data about children outside of the stack')) |
779 ] + commands.formatteropts, |
780 ] + commands.formatteropts, |
780 _(b'hg stack [TOPIC]')) |
781 _(b'hg stack [TOPIC]'), |
|
782 **compat.helpcategorykwargs('CATEGORY_CHANGE_NAVIGATION')) |
781 def cmdstack(ui, repo, topic=b'', **opts): |
783 def cmdstack(ui, repo, topic=b'', **opts): |
782 """list all changesets in a topic and other information |
784 """list all changesets in a topic and other information |
783 |
785 |
784 List the current topic by default. |
786 List the current topic by default. |
785 |
787 |