comparison hgext/churn.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 ed1d90f6e921
children a0e46f6b248b
comparison
equal deleted inserted replaced
29840:4435d4c951ec 29841:d5883fd055c6
24 util, 24 util,
25 ) 25 )
26 26
27 cmdtable = {} 27 cmdtable = {}
28 command = cmdutil.command(cmdtable) 28 command = cmdutil.command(cmdtable)
29 # Note for extension authors: ONLY specify testedwith = 'internal' for 29 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
30 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 30 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
31 # be specifying the version(s) of Mercurial they are tested with, or 31 # be specifying the version(s) of Mercurial they are tested with, or
32 # leave the attribute unspecified. 32 # leave the attribute unspecified.
33 testedwith = 'internal' 33 testedwith = 'ships-with-hg-core'
34 34
35 def maketemplater(ui, repo, tmpl): 35 def maketemplater(ui, repo, tmpl):
36 return cmdutil.changeset_templater(ui, repo, False, None, tmpl, None, False) 36 return cmdutil.changeset_templater(ui, repo, False, None, tmpl, None, False)
37 37
38 def changedlines(ui, repo, ctx1, ctx2, fns): 38 def changedlines(ui, repo, ctx1, ctx2, fns):