comparison hgext/hgk.py @ 25186:80c5b2666a96

extensions: document that `testedwith = 'internal'` is special Extension authors (notably at companies using hg) have been cargo-culting the `testedwith = 'internal'` bit from hg's own extensions, which then defeats our "file bugs over here" logic in dispatch. Let's be more aggressive about trying to give extension authors a hint about what testedwith should say.
author Augie Fackler <augie@google.com>
date Tue, 28 Apr 2015 16:44:37 -0400
parents ce8dd4fd2d5d
children 084957666642
comparison
equal deleted inserted replaced
25185:bf6b476f3b36 25186:80c5b2666a96
39 from mercurial.node import nullid, nullrev, short 39 from mercurial.node import nullid, nullrev, short
40 from mercurial.i18n import _ 40 from mercurial.i18n import _
41 41
42 cmdtable = {} 42 cmdtable = {}
43 command = cmdutil.command(cmdtable) 43 command = cmdutil.command(cmdtable)
44 # Note for extension authors: ONLY specify testedwith = 'internal' for
45 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
46 # be specifying the version(s) of Mercurial they are tested with, or
47 # leave the attribute unspecified.
44 testedwith = 'internal' 48 testedwith = 'internal'
45 49
46 @command('debug-diff-tree', 50 @command('debug-diff-tree',
47 [('p', 'patch', None, _('generate patch')), 51 [('p', 'patch', None, _('generate patch')),
48 ('r', 'recursive', None, _('recursive')), 52 ('r', 'recursive', None, _('recursive')),