comparison hgext/strip.py @ 29852: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 46ba2cdda476
comparison
equal deleted inserted replaced
29851:4435d4c951ec 29852:d5883fd055c6
21 nullid = nodemod.nullid 21 nullid = nodemod.nullid
22 release = lockmod.release 22 release = lockmod.release
23 23
24 cmdtable = {} 24 cmdtable = {}
25 command = cmdutil.command(cmdtable) 25 command = cmdutil.command(cmdtable)
26 # Note for extension authors: ONLY specify testedwith = 'internal' for 26 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
27 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 27 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
28 # be specifying the version(s) of Mercurial they are tested with, or 28 # be specifying the version(s) of Mercurial they are tested with, or
29 # leave the attribute unspecified. 29 # leave the attribute unspecified.
30 testedwith = 'internal' 30 testedwith = 'ships-with-hg-core'
31 31
32 def checksubstate(repo, baserev=None): 32 def checksubstate(repo, baserev=None):
33 '''return list of subrepos at a different revision than substate. 33 '''return list of subrepos at a different revision than substate.
34 Abort if any subrepos have uncommitted changes.''' 34 Abort if any subrepos have uncommitted changes.'''
35 inclsubs = [] 35 inclsubs = []