comparison hgext/win32mbcs.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 844f72885fb9
children 6f447b9ec263
comparison
equal deleted inserted replaced
29840:4435d4c951ec 29841:d5883fd055c6
53 from mercurial import ( 53 from mercurial import (
54 encoding, 54 encoding,
55 error, 55 error,
56 ) 56 )
57 57
58 # Note for extension authors: ONLY specify testedwith = 'internal' for 58 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
59 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 59 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
60 # be specifying the version(s) of Mercurial they are tested with, or 60 # be specifying the version(s) of Mercurial they are tested with, or
61 # leave the attribute unspecified. 61 # leave the attribute unspecified.
62 testedwith = 'internal' 62 testedwith = 'ships-with-hg-core'
63 63
64 _encoding = None # see extsetup 64 _encoding = None # see extsetup
65 65
66 def decode(arg): 66 def decode(arg):
67 if isinstance(arg, str): 67 if isinstance(arg, str):