309 |
309 |
310 @command('topics', [ |
310 @command('topics', [ |
311 ('', 'clear', False, 'clear active topic if any'), |
311 ('', 'clear', False, 'clear active topic if any'), |
312 ('r', 'rev', '', 'revset of existing revisions', _('REV')), |
312 ('r', 'rev', '', 'revset of existing revisions', _('REV')), |
313 ('l', 'list', False, 'show the stack of changeset in the topic'), |
313 ('l', 'list', False, 'show the stack of changeset in the topic'), |
314 ('', 'age', False, 'show when you last touched the topics') |
314 ('', 'age', False, 'show when you last touched the topics'), |
315 ] + commands.formatteropts, |
315 ] + commands.formatteropts, |
316 _('hg topics [TOPIC]')) |
316 _('hg topics [TOPIC]')) |
317 def topics(ui, repo, topic='', clear=False, rev=None, list=False, **opts): |
317 def topics(ui, repo, topic='', clear=False, rev=None, list=False, **opts): |
318 """View current topic, set current topic, change topic for a set of revisions, or see all topics. |
318 """View current topic, set current topic, change topic for a set of revisions, or see all topics. |
319 |
319 |