comparison hgext/schemes.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 a0939666b836
children 7a3e67bfa417
comparison
equal deleted inserted replaced
29840:4435d4c951ec 29841:d5883fd055c6
54 util, 54 util,
55 ) 55 )
56 56
57 cmdtable = {} 57 cmdtable = {}
58 command = cmdutil.command(cmdtable) 58 command = cmdutil.command(cmdtable)
59 # Note for extension authors: ONLY specify testedwith = 'internal' for 59 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
60 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 60 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
61 # be specifying the version(s) of Mercurial they are tested with, or 61 # be specifying the version(s) of Mercurial they are tested with, or
62 # leave the attribute unspecified. 62 # leave the attribute unspecified.
63 testedwith = 'internal' 63 testedwith = 'ships-with-hg-core'
64 64
65 65
66 class ShortRepository(object): 66 class ShortRepository(object):
67 def __init__(self, url, scheme, templater): 67 def __init__(self, url, scheme, templater):
68 self.scheme = scheme 68 self.scheme = scheme