comparison hgext/share.py @ 30611: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 2550604f5ec7
children 0332b8fafd05
comparison
equal deleted inserted replaced
30610:4435d4c951ec 30611:d5883fd055c6
54 repository = hg.repository 54 repository = hg.repository
55 parseurl = hg.parseurl 55 parseurl = hg.parseurl
56 56
57 cmdtable = {} 57 cmdtable = {}
58 command = cmdutil.command(cmdtable) 58 command = cmdutil.command(cmdtable)
59 # Note for extension authors: ONLY specify testedwith = 'internal' for 59 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
60 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 60 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
61 # be specifying the version(s) of Mercurial they are tested with, or 61 # be specifying the version(s) of Mercurial they are tested with, or
62 # leave the attribute unspecified. 62 # leave the attribute unspecified.
63 testedwith = 'internal' 63 testedwith = 'ships-with-hg-core'
64 64
65 @command('share', 65 @command('share',
66 [('U', 'noupdate', None, _('do not create a working directory')), 66 [('U', 'noupdate', None, _('do not create a working directory')),
67 ('B', 'bookmarks', None, _('also share bookmarks'))], 67 ('B', 'bookmarks', None, _('also share bookmarks'))],
68 _('[-U] [-B] SOURCE [DEST]'), 68 _('[-U] [-B] SOURCE [DEST]'),