36 util, |
36 util, |
37 ) |
37 ) |
38 |
38 |
39 cmdtable = {} |
39 cmdtable = {} |
40 command = cmdutil.command(cmdtable) |
40 command = cmdutil.command(cmdtable) |
41 # Note for extension authors: ONLY specify testedwith = 'internal' for |
41 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for |
42 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
42 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
43 # be specifying the version(s) of Mercurial they are tested with, or |
43 # be specifying the version(s) of Mercurial they are tested with, or |
44 # leave the attribute unspecified. |
44 # leave the attribute unspecified. |
45 testedwith = 'internal' |
45 testedwith = 'ships-with-hg-core' |
46 |
46 |
47 @command('purge|clean', |
47 @command('purge|clean', |
48 [('a', 'abort-on-err', None, _('abort if an error occurs')), |
48 [('a', 'abort-on-err', None, _('abort if an error occurs')), |
49 ('', 'all', None, _('purge ignored files too')), |
49 ('', 'all', None, _('purge ignored files too')), |
50 ('', 'dirs', None, _('purge empty directories')), |
50 ('', 'dirs', None, _('purge empty directories')), |