comparison hgext/blackbox.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 7cc77030c557
children 328739ea70c3
comparison
equal deleted inserted replaced
25185:bf6b476f3b36 25186:80c5b2666a96
33 from mercurial.i18n import _ 33 from mercurial.i18n import _
34 import errno, os, re 34 import errno, os, re
35 35
36 cmdtable = {} 36 cmdtable = {}
37 command = cmdutil.command(cmdtable) 37 command = cmdutil.command(cmdtable)
38 # Note for extension authors: ONLY specify testedwith = 'internal' for
39 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
40 # be specifying the version(s) of Mercurial they are tested with, or
41 # leave the attribute unspecified.
38 testedwith = 'internal' 42 testedwith = 'internal'
39 lastblackbox = None 43 lastblackbox = None
40 44
41 def wrapui(ui): 45 def wrapui(ui):
42 class blackboxui(ui.__class__): 46 class blackboxui(ui.__class__):