comparison hgext/histedit.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 e1a4015f5e34
children 0099e29fc95c
comparison
equal deleted inserted replaced
29840:4435d4c951ec 29841:d5883fd055c6
211 211
212 @classmethod 212 @classmethod
213 def known(cls): 213 def known(cls):
214 return set([v for k, v in cls.__dict__.items() if k[0] != '_']) 214 return set([v for k, v in cls.__dict__.items() if k[0] != '_'])
215 215
216 # Note for extension authors: ONLY specify testedwith = 'internal' for 216 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
217 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 217 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
218 # be specifying the version(s) of Mercurial they are tested with, or 218 # be specifying the version(s) of Mercurial they are tested with, or
219 # leave the attribute unspecified. 219 # leave the attribute unspecified.
220 testedwith = 'internal' 220 testedwith = 'ships-with-hg-core'
221 221
222 actiontable = {} 222 actiontable = {}
223 primaryactions = set() 223 primaryactions = set()
224 secondaryactions = set() 224 secondaryactions = set()
225 tertiaryactions = set() 225 tertiaryactions = set()