comparison hgext/mq.py @ 29841:d5883fd055c6

extensions: change magic "shipped with hg" string I've caught multiple extensions in the wild lying about being 'internal', so it's time to move the goalposts on people. Goalpost moving will continue until third party extensions stop trying to defeat the system.
author Augie Fackler <augie@google.com>
date Tue, 23 Aug 2016 11:26:08 -0400
parents 8a8c1c4b8f24
children 0342bf292f73
comparison
equal deleted inserted replaced
29840:4435d4c951ec 29841:d5883fd055c6
97 release = lockmod.release 97 release = lockmod.release
98 seriesopts = [('s', 'summary', None, _('print first line of patch header'))] 98 seriesopts = [('s', 'summary', None, _('print first line of patch header'))]
99 99
100 cmdtable = {} 100 cmdtable = {}
101 command = cmdutil.command(cmdtable) 101 command = cmdutil.command(cmdtable)
102 # Note for extension authors: ONLY specify testedwith = 'internal' for 102 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
103 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 103 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
104 # be specifying the version(s) of Mercurial they are tested with, or 104 # be specifying the version(s) of Mercurial they are tested with, or
105 # leave the attribute unspecified. 105 # leave the attribute unspecified.
106 testedwith = 'internal' 106 testedwith = 'ships-with-hg-core'
107 107
108 # force load strip extension formerly included in mq and import some utility 108 # force load strip extension formerly included in mq and import some utility
109 try: 109 try:
110 stripext = extensions.find('strip') 110 stripext = extensions.find('strip')
111 except KeyError: 111 except KeyError: