comparison hgext/relink.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 46ba2cdda476
comparison
equal deleted inserted replaced
29840:4435d4c951ec 29841:d5883fd055c6
19 util, 19 util,
20 ) 20 )
21 21
22 cmdtable = {} 22 cmdtable = {}
23 command = cmdutil.command(cmdtable) 23 command = cmdutil.command(cmdtable)
24 # Note for extension authors: ONLY specify testedwith = 'internal' for 24 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
25 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 25 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
26 # be specifying the version(s) of Mercurial they are tested with, or 26 # be specifying the version(s) of Mercurial they are tested with, or
27 # leave the attribute unspecified. 27 # leave the attribute unspecified.
28 testedwith = 'internal' 28 testedwith = 'ships-with-hg-core'
29 29
30 @command('relink', [], _('[ORIGIN]')) 30 @command('relink', [], _('[ORIGIN]'))
31 def relink(ui, repo, origin=None, **opts): 31 def relink(ui, repo, origin=None, **opts):
32 """recreate hardlinks between two repositories 32 """recreate hardlinks between two repositories
33 33