comparison hgext/rebase.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 754f63671229
children 58db005d870e
comparison
equal deleted inserted replaced
29840:4435d4c951ec 29841:d5883fd055c6
64 revpruned = -5 64 revpruned = -5
65 revskipped = (revignored, revprecursor, revpruned) 65 revskipped = (revignored, revprecursor, revpruned)
66 66
67 cmdtable = {} 67 cmdtable = {}
68 command = cmdutil.command(cmdtable) 68 command = cmdutil.command(cmdtable)
69 # Note for extension authors: ONLY specify testedwith = 'internal' for 69 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
70 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 70 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
71 # be specifying the version(s) of Mercurial they are tested with, or 71 # be specifying the version(s) of Mercurial they are tested with, or
72 # leave the attribute unspecified. 72 # leave the attribute unspecified.
73 testedwith = 'internal' 73 testedwith = 'ships-with-hg-core'
74 74
75 def _nothingtorebase(): 75 def _nothingtorebase():
76 return 1 76 return 1
77 77
78 def _savegraft(ctx, extra): 78 def _savegraft(ctx, extra):