comparison hgext/extdiff.py @ 40293:c303d65d2e34

help: assigning categories to existing commands I'm separating this into its own commit so people can bikeshed over the actual categorization (vs the support for categories). These categories are based on the help implementation we've been using internally at Google, and have had zero complaints. Differential Revision: https://phab.mercurial-scm.org/D5067
author rdamazio@google.com
date Sat, 13 Oct 2018 02:17:41 -0700
parents 2ce60954b1b7
children 3d76a8e627a6 97190b0bb81a
comparison
equal deleted inserted replaced
40292:9c6473d2038b 40293:c303d65d2e34
336 336
337 @command('extdiff', 337 @command('extdiff',
338 [('p', 'program', '', _('comparison program to run'), _('CMD')), 338 [('p', 'program', '', _('comparison program to run'), _('CMD')),
339 ] + extdiffopts, 339 ] + extdiffopts,
340 _('hg extdiff [OPT]... [FILE]...'), 340 _('hg extdiff [OPT]... [FILE]...'),
341 helpcategory=command.CATEGORY_FILE_CONTENTS,
341 inferrepo=True) 342 inferrepo=True)
342 def extdiff(ui, repo, *pats, **opts): 343 def extdiff(ui, repo, *pats, **opts):
343 '''use external program to diff repository (or selected files) 344 '''use external program to diff repository (or selected files)
344 345
345 Show differences between revisions for the specified files, using 346 Show differences between revisions for the specified files, using