comparison hgext/extdiff.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 91b2f2176395
children caf7e1c5efe4
comparison
equal deleted inserted replaced
29840:4435d4c951ec 29841:d5883fd055c6
82 util, 82 util,
83 ) 83 )
84 84
85 cmdtable = {} 85 cmdtable = {}
86 command = cmdutil.command(cmdtable) 86 command = cmdutil.command(cmdtable)
87 # Note for extension authors: ONLY specify testedwith = 'internal' for 87 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
88 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 88 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
89 # be specifying the version(s) of Mercurial they are tested with, or 89 # be specifying the version(s) of Mercurial they are tested with, or
90 # leave the attribute unspecified. 90 # leave the attribute unspecified.
91 testedwith = 'internal' 91 testedwith = 'ships-with-hg-core'
92 92
93 def snapshot(ui, repo, files, node, tmproot, listsubrepos): 93 def snapshot(ui, repo, files, node, tmproot, listsubrepos):
94 '''snapshot files as of some revision 94 '''snapshot files as of some revision
95 if not using snapshot, -I/-X does not work and recursive diff 95 if not using snapshot, -I/-X does not work and recursive diff
96 in tools like kdiff3 and meld displays too many files.''' 96 in tools like kdiff3 and meld displays too many files.'''