##// END OF EJS Templates
extensions: change magic "shipped with hg" string...
Augie Fackler -
r29841:d5883fd0 default
parent child Browse files
Show More
@@ -62,11 +62,11 b' from mercurial import ('
62 62 util,
63 63 )
64 64
65 # Note for extension authors: ONLY specify testedwith = 'internal' for
65 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
66 66 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
67 67 # be specifying the version(s) of Mercurial they are tested with, or
68 68 # leave the attribute unspecified.
69 testedwith = 'internal'
69 testedwith = 'ships-with-hg-core'
70 70
71 71 cmdtable = {}
72 72 command = cmdutil.command(cmdtable)
@@ -204,11 +204,11 b' from mercurial import ('
204 204
205 205 urlreq = util.urlreq
206 206
207 # Note for extension authors: ONLY specify testedwith = 'internal' for
207 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
208 208 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
209 209 # be specifying the version(s) of Mercurial they are tested with, or
210 210 # leave the attribute unspecified.
211 testedwith = 'internal'
211 testedwith = 'ships-with-hg-core'
212 212
213 213 def _getusers(ui, group):
214 214
@@ -51,11 +51,11 b' from mercurial import ('
51 51
52 52 cmdtable = {}
53 53 command = cmdutil.command(cmdtable)
54 # Note for extension authors: ONLY specify testedwith = 'internal' for
54 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
55 55 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
56 56 # be specifying the version(s) of Mercurial they are tested with, or
57 57 # leave the attribute unspecified.
58 testedwith = 'internal'
58 testedwith = 'ships-with-hg-core'
59 59 lastui = None
60 60
61 61 filehandles = {}
@@ -294,11 +294,11 b' from mercurial import ('
294 294 urlparse = util.urlparse
295 295 xmlrpclib = util.xmlrpclib
296 296
297 # Note for extension authors: ONLY specify testedwith = 'internal' for
297 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
298 298 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
299 299 # be specifying the version(s) of Mercurial they are tested with, or
300 300 # leave the attribute unspecified.
301 testedwith = 'internal'
301 testedwith = 'ships-with-hg-core'
302 302
303 303 class bzaccess(object):
304 304 '''Base class for access to Bugzilla.'''
@@ -42,11 +42,11 b' from mercurial import ('
42 42
43 43 cmdtable = {}
44 44 command = cmdutil.command(cmdtable)
45 # Note for extension authors: ONLY specify testedwith = 'internal' for
45 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
46 46 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
47 47 # be specifying the version(s) of Mercurial they are tested with, or
48 48 # leave the attribute unspecified.
49 testedwith = 'internal'
49 testedwith = 'ships-with-hg-core'
50 50
51 51 @command('censor',
52 52 [('r', 'rev', '', _('censor file from specified revision'), _('REV')),
@@ -63,11 +63,11 b' from mercurial import ('
63 63 util,
64 64 )
65 65
66 # Note for extension authors: ONLY specify testedwith = 'internal' for
66 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
67 67 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
68 68 # be specifying the version(s) of Mercurial they are tested with, or
69 69 # leave the attribute unspecified.
70 testedwith = 'internal'
70 testedwith = 'ships-with-hg-core'
71 71
72 72 _log = commandserver.log
73 73
@@ -26,11 +26,11 b' templateopts = commands.templateopts'
26 26
27 27 cmdtable = {}
28 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 30 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
31 31 # be specifying the version(s) of Mercurial they are tested with, or
32 32 # leave the attribute unspecified.
33 testedwith = 'internal'
33 testedwith = 'ships-with-hg-core'
34 34
35 35 @command('children',
36 36 [('r', 'rev', '',
@@ -26,11 +26,11 b' from mercurial import ('
26 26
27 27 cmdtable = {}
28 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 30 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
31 31 # be specifying the version(s) of Mercurial they are tested with, or
32 32 # leave the attribute unspecified.
33 testedwith = 'internal'
33 testedwith = 'ships-with-hg-core'
34 34
35 35 def maketemplater(ui, repo, tmpl):
36 36 return cmdutil.changeset_templater(ui, repo, False, None, tmpl, None, False)
@@ -169,7 +169,7 b' from mercurial import ('
169 169 wireproto,
170 170 )
171 171
172 testedwith = 'internal'
172 testedwith = 'ships-with-hg-core'
173 173
174 174 def capabilities(orig, repo, proto):
175 175 caps = orig(repo, proto)
@@ -170,11 +170,11 b' from mercurial import ('
170 170
171 171 cmdtable = {}
172 172 command = cmdutil.command(cmdtable)
173 # Note for extension authors: ONLY specify testedwith = 'internal' for
173 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
174 174 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
175 175 # be specifying the version(s) of Mercurial they are tested with, or
176 176 # leave the attribute unspecified.
177 testedwith = 'internal'
177 testedwith = 'ships-with-hg-core'
178 178
179 179 # start and stop parameters for effects
180 180 _effects = {'none': 0, 'black': 30, 'red': 31, 'green': 32, 'yellow': 33,
@@ -23,11 +23,11 b' from . import ('
23 23
24 24 cmdtable = {}
25 25 command = cmdutil.command(cmdtable)
26 # Note for extension authors: ONLY specify testedwith = 'internal' for
26 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
27 27 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
28 28 # be specifying the version(s) of Mercurial they are tested with, or
29 29 # leave the attribute unspecified.
30 testedwith = 'internal'
30 testedwith = 'ships-with-hg-core'
31 31
32 32 # Commands definition was moved elsewhere to ease demandload job.
33 33
@@ -104,11 +104,11 b' from mercurial import ('
104 104 util,
105 105 )
106 106
107 # Note for extension authors: ONLY specify testedwith = 'internal' for
107 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
108 108 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
109 109 # be specifying the version(s) of Mercurial they are tested with, or
110 110 # leave the attribute unspecified.
111 testedwith = 'internal'
111 testedwith = 'ships-with-hg-core'
112 112
113 113 # Matches a lone LF, i.e., one that is not part of CRLF.
114 114 singlelf = re.compile('(^|[^\r])\n')
@@ -84,11 +84,11 b' from mercurial import ('
84 84
85 85 cmdtable = {}
86 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 88 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
89 89 # be specifying the version(s) of Mercurial they are tested with, or
90 90 # leave the attribute unspecified.
91 testedwith = 'internal'
91 testedwith = 'ships-with-hg-core'
92 92
93 93 def snapshot(ui, repo, files, node, tmproot, listsubrepos):
94 94 '''snapshot files as of some revision
@@ -26,11 +26,11 b' from mercurial import ('
26 26 release = lock.release
27 27 cmdtable = {}
28 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 30 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
31 31 # be specifying the version(s) of Mercurial they are tested with, or
32 32 # leave the attribute unspecified.
33 testedwith = 'internal'
33 testedwith = 'ships-with-hg-core'
34 34
35 35 @command('fetch',
36 36 [('r', 'rev', [],
@@ -113,11 +113,11 b' from . import ('
113 113 watchmanclient,
114 114 )
115 115
116 # Note for extension authors: ONLY specify testedwith = 'internal' for
116 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
117 117 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
118 118 # be specifying the version(s) of Mercurial they are tested with, or
119 119 # leave the attribute unspecified.
120 testedwith = 'internal'
120 testedwith = 'ships-with-hg-core'
121 121
122 122 # This extension is incompatible with the following blacklisted extensions
123 123 # and will disable itself when encountering one of these:
@@ -23,11 +23,11 b' from mercurial import ('
23 23
24 24 cmdtable = {}
25 25 command = cmdutil.command(cmdtable)
26 # Note for extension authors: ONLY specify testedwith = 'internal' for
26 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
27 27 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
28 28 # be specifying the version(s) of Mercurial they are tested with, or
29 29 # leave the attribute unspecified.
30 testedwith = 'internal'
30 testedwith = 'ships-with-hg-core'
31 31
32 32 class gpg(object):
33 33 def __init__(self, path, key=None):
@@ -25,11 +25,11 b' from mercurial import ('
25 25
26 26 cmdtable = {}
27 27 command = cmdutil.command(cmdtable)
28 # Note for extension authors: ONLY specify testedwith = 'internal' for
28 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
29 29 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
30 30 # be specifying the version(s) of Mercurial they are tested with, or
31 31 # leave the attribute unspecified.
32 testedwith = 'internal'
32 testedwith = 'ships-with-hg-core'
33 33
34 34 @command('glog',
35 35 [('f', 'follow', None,
@@ -54,11 +54,11 b' from mercurial import ('
54 54
55 55 cmdtable = {}
56 56 command = cmdutil.command(cmdtable)
57 # Note for extension authors: ONLY specify testedwith = 'internal' for
57 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
58 58 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
59 59 # be specifying the version(s) of Mercurial they are tested with, or
60 60 # leave the attribute unspecified.
61 testedwith = 'internal'
61 testedwith = 'ships-with-hg-core'
62 62
63 63 @command('debug-diff-tree',
64 64 [('p', 'patch', None, _('generate patch')),
@@ -41,11 +41,11 b' from mercurial import ('
41 41 fileset,
42 42 )
43 43
44 # Note for extension authors: ONLY specify testedwith = 'internal' for
44 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
45 45 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
46 46 # be specifying the version(s) of Mercurial they are tested with, or
47 47 # leave the attribute unspecified.
48 testedwith = 'internal'
48 testedwith = 'ships-with-hg-core'
49 49
50 50 def pygmentize(web, field, fctx, tmpl):
51 51 style = web.config('web', 'pygments_style', 'colorful')
@@ -213,11 +213,11 b' class _constraints(object):'
213 213 def known(cls):
214 214 return set([v for k, v in cls.__dict__.items() if k[0] != '_'])
215 215
216 # Note for extension authors: ONLY specify testedwith = 'internal' for
216 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
217 217 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
218 218 # be specifying the version(s) of Mercurial they are tested with, or
219 219 # leave the attribute unspecified.
220 testedwith = 'internal'
220 testedwith = 'ships-with-hg-core'
221 221
222 222 actiontable = {}
223 223 primaryactions = set()
@@ -39,11 +39,11 b' from . import share'
39 39 cmdtable = {}
40 40 command = cmdutil.command(cmdtable)
41 41
42 # Note for extension authors: ONLY specify testedwith = 'internal' for
42 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
43 43 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
44 44 # be specifying the version(s) of Mercurial they are tested with, or
45 45 # leave the attribute unspecified.
46 testedwith = 'internal'
46 testedwith = 'ships-with-hg-core'
47 47
48 48 # storage format version; increment when the format changes
49 49 storageversion = 0
@@ -112,11 +112,11 b' from mercurial import ('
112 112
113 113 cmdtable = {}
114 114 command = cmdutil.command(cmdtable)
115 # Note for extension authors: ONLY specify testedwith = 'internal' for
115 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
116 116 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
117 117 # be specifying the version(s) of Mercurial they are tested with, or
118 118 # leave the attribute unspecified.
119 testedwith = 'internal'
119 testedwith = 'ships-with-hg-core'
120 120
121 121 # hg commands that do not act on keywords
122 122 nokwcommands = ('add addremove annotate bundle export grep incoming init log'
@@ -119,11 +119,11 b' from . import ('
119 119 uisetup as uisetupmod,
120 120 )
121 121
122 # Note for extension authors: ONLY specify testedwith = 'internal' for
122 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
123 123 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
124 124 # be specifying the version(s) of Mercurial they are tested with, or
125 125 # leave the attribute unspecified.
126 testedwith = 'internal'
126 testedwith = 'ships-with-hg-core'
127 127
128 128 reposetup = reposetup.reposetup
129 129
@@ -40,11 +40,11 b' import platform'
40 40 import subprocess
41 41 import sys
42 42
43 # Note for extension authors: ONLY specify testedwith = 'internal' for
43 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
44 44 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
45 45 # be specifying the version(s) of Mercurial they are tested with, or
46 46 # leave the attribute unspecified.
47 testedwith = 'internal'
47 testedwith = 'ships-with-hg-core'
48 48
49 49 def uisetup(ui):
50 50 if platform.system() == 'Windows':
@@ -99,11 +99,11 b" seriesopts = [('s', 'summary', None, _('"
99 99
100 100 cmdtable = {}
101 101 command = cmdutil.command(cmdtable)
102 # Note for extension authors: ONLY specify testedwith = 'internal' for
102 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
103 103 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
104 104 # be specifying the version(s) of Mercurial they are tested with, or
105 105 # leave the attribute unspecified.
106 testedwith = 'internal'
106 testedwith = 'ships-with-hg-core'
107 107
108 108 # force load strip extension formerly included in mq and import some utility
109 109 try:
@@ -148,11 +148,11 b' from mercurial import ('
148 148 util,
149 149 )
150 150
151 # Note for extension authors: ONLY specify testedwith = 'internal' for
151 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
152 152 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
153 153 # be specifying the version(s) of Mercurial they are tested with, or
154 154 # leave the attribute unspecified.
155 testedwith = 'internal'
155 testedwith = 'ships-with-hg-core'
156 156
157 157 # template for single changeset can include email headers.
158 158 single_template = '''
@@ -75,11 +75,11 b' from mercurial import ('
75 75 util,
76 76 )
77 77
78 # Note for extension authors: ONLY specify testedwith = 'internal' for
78 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
79 79 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
80 80 # be specifying the version(s) of Mercurial they are tested with, or
81 81 # leave the attribute unspecified.
82 testedwith = 'internal'
82 testedwith = 'ships-with-hg-core'
83 83
84 84 def _runpager(ui, p):
85 85 pager = subprocess.Popen(p, shell=True, bufsize=-1,
@@ -87,11 +87,11 b' stringio = util.stringio'
87 87
88 88 cmdtable = {}
89 89 command = cmdutil.command(cmdtable)
90 # Note for extension authors: ONLY specify testedwith = 'internal' for
90 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
91 91 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
92 92 # be specifying the version(s) of Mercurial they are tested with, or
93 93 # leave the attribute unspecified.
94 testedwith = 'internal'
94 testedwith = 'ships-with-hg-core'
95 95
96 96 def _addpullheader(seq, ctx):
97 97 """Add a header pointing to a public URL where the changeset is available
@@ -38,11 +38,11 b' from mercurial import ('
38 38
39 39 cmdtable = {}
40 40 command = cmdutil.command(cmdtable)
41 # Note for extension authors: ONLY specify testedwith = 'internal' for
41 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
42 42 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
43 43 # be specifying the version(s) of Mercurial they are tested with, or
44 44 # leave the attribute unspecified.
45 testedwith = 'internal'
45 testedwith = 'ships-with-hg-core'
46 46
47 47 @command('purge|clean',
48 48 [('a', 'abort-on-err', None, _('abort if an error occurs')),
@@ -66,11 +66,11 b' revskipped = (revignored, revprecursor, '
66 66
67 67 cmdtable = {}
68 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 70 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
71 71 # be specifying the version(s) of Mercurial they are tested with, or
72 72 # leave the attribute unspecified.
73 testedwith = 'internal'
73 testedwith = 'ships-with-hg-core'
74 74
75 75 def _nothingtorebase():
76 76 return 1
@@ -22,11 +22,11 b' from mercurial import ('
22 22
23 23 cmdtable = {}
24 24 command = cmdutil.command(cmdtable)
25 # Note for extension authors: ONLY specify testedwith = 'internal' for
25 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
26 26 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
27 27 # be specifying the version(s) of Mercurial they are tested with, or
28 28 # leave the attribute unspecified.
29 testedwith = 'internal'
29 testedwith = 'ships-with-hg-core'
30 30
31 31
32 32 @command("record",
@@ -21,11 +21,11 b' from mercurial import ('
21 21
22 22 cmdtable = {}
23 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 25 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
26 26 # be specifying the version(s) of Mercurial they are tested with, or
27 27 # leave the attribute unspecified.
28 testedwith = 'internal'
28 testedwith = 'ships-with-hg-core'
29 29
30 30 @command('relink', [], _('[ORIGIN]'))
31 31 def relink(ui, repo, origin=None, **opts):
@@ -56,11 +56,11 b' from mercurial import ('
56 56
57 57 cmdtable = {}
58 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 60 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
61 61 # be specifying the version(s) of Mercurial they are tested with, or
62 62 # leave the attribute unspecified.
63 testedwith = 'internal'
63 testedwith = 'ships-with-hg-core'
64 64
65 65
66 66 class ShortRepository(object):
@@ -56,11 +56,11 b' parseurl = hg.parseurl'
56 56
57 57 cmdtable = {}
58 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 60 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
61 61 # be specifying the version(s) of Mercurial they are tested with, or
62 62 # leave the attribute unspecified.
63 testedwith = 'internal'
63 testedwith = 'ships-with-hg-core'
64 64
65 65 @command('share',
66 66 [('U', 'noupdate', None, _('do not create a working directory')),
@@ -54,11 +54,11 b' from . import ('
54 54
55 55 cmdtable = {}
56 56 command = cmdutil.command(cmdtable)
57 # Note for extension authors: ONLY specify testedwith = 'internal' for
57 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
58 58 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
59 59 # be specifying the version(s) of Mercurial they are tested with, or
60 60 # leave the attribute unspecified.
61 testedwith = 'internal'
61 testedwith = 'ships-with-hg-core'
62 62
63 63 backupdir = 'shelve-backup'
64 64 shelvedir = 'shelved'
@@ -23,11 +23,11 b' release = lockmod.release'
23 23
24 24 cmdtable = {}
25 25 command = cmdutil.command(cmdtable)
26 # Note for extension authors: ONLY specify testedwith = 'internal' for
26 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
27 27 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
28 28 # be specifying the version(s) of Mercurial they are tested with, or
29 29 # leave the attribute unspecified.
30 testedwith = 'internal'
30 testedwith = 'ships-with-hg-core'
31 31
32 32 def checksubstate(repo, baserev=None):
33 33 '''return list of subrepos at a different revision than substate.
@@ -40,11 +40,11 b' class TransplantError(error.Abort):'
40 40
41 41 cmdtable = {}
42 42 command = cmdutil.command(cmdtable)
43 # Note for extension authors: ONLY specify testedwith = 'internal' for
43 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
44 44 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
45 45 # be specifying the version(s) of Mercurial they are tested with, or
46 46 # leave the attribute unspecified.
47 testedwith = 'internal'
47 testedwith = 'ships-with-hg-core'
48 48
49 49 class transplantentry(object):
50 50 def __init__(self, lnode, rnode):
@@ -55,11 +55,11 b' from mercurial import ('
55 55 error,
56 56 )
57 57
58 # Note for extension authors: ONLY specify testedwith = 'internal' for
58 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
59 59 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
60 60 # be specifying the version(s) of Mercurial they are tested with, or
61 61 # leave the attribute unspecified.
62 testedwith = 'internal'
62 testedwith = 'ships-with-hg-core'
63 63
64 64 _encoding = None # see extsetup
65 65
@@ -52,11 +52,11 b' from mercurial import ('
52 52 util,
53 53 )
54 54
55 # Note for extension authors: ONLY specify testedwith = 'internal' for
55 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
56 56 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
57 57 # be specifying the version(s) of Mercurial they are tested with, or
58 58 # leave the attribute unspecified.
59 testedwith = 'internal'
59 testedwith = 'ships-with-hg-core'
60 60
61 61 # regexp for single LF without CR preceding.
62 62 re_single_lf = re.compile('(^|[^\r])\n', re.MULTILINE)
@@ -40,11 +40,11 b' from mercurial.hgweb import ('
40 40 server as servermod
41 41 )
42 42
43 # Note for extension authors: ONLY specify testedwith = 'internal' for
43 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
44 44 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
45 45 # be specifying the version(s) of Mercurial they are tested with, or
46 46 # leave the attribute unspecified.
47 testedwith = 'internal'
47 testedwith = 'ships-with-hg-core'
48 48
49 49 # publish
50 50
@@ -2396,6 +2396,10 b' def debugextensions(ui, **opts):'
2396 2396 for extname, extmod in sorted(exts, key=operator.itemgetter(0)):
2397 2397 extsource = extmod.__file__
2398 2398 exttestedwith = getattr(extmod, 'testedwith', '').split()
2399 if exttestedwith == ['ships-with-hg-core']:
2400 showtestedwith = ['internal']
2401 else:
2402 showtestedwith = exttestedwith
2399 2403 extbuglink = getattr(extmod, 'buglink', None)
2400 2404
2401 2405 fm.startitem()
@@ -2406,7 +2410,8 b' def debugextensions(ui, **opts):'
2406 2410 fm.write('name', '%s', extname)
2407 2411 if not exttestedwith:
2408 2412 fm.plain(_(' (untested!)\n'))
2409 elif exttestedwith == ['internal'] or hgver in exttestedwith:
2413 elif (exttestedwith == ['ships-with-hg-core']
2414 or hgver in exttestedwith):
2410 2415 fm.plain('\n')
2411 2416 else:
2412 2417 lasttestedversion = exttestedwith[-1]
@@ -2415,9 +2420,9 b' def debugextensions(ui, **opts):'
2415 2420 fm.condwrite(ui.verbose and extsource, 'source',
2416 2421 _(' location: %s\n'), extsource or "")
2417 2422
2418 fm.condwrite(ui.verbose and exttestedwith, 'testedwith',
2423 fm.condwrite(ui.verbose and showtestedwith, 'testedwith',
2419 2424 _(' tested with: %s\n'),
2420 fm.formatlist(exttestedwith, name='ver'))
2425 fm.formatlist(showtestedwith, name='ver'))
2421 2426
2422 2427 fm.condwrite(ui.verbose and extbuglink, 'buglink',
2423 2428 _(' bug reporting: %s\n'), extbuglink or "")
@@ -927,7 +927,7 b' def _exceptionwarning(ui):'
927 927 break
928 928
929 929 # Never blame on extensions bundled with Mercurial.
930 if testedwith == 'internal':
930 if testedwith == 'ships-with-hg-core':
931 931 continue
932 932
933 933 tested = [util.versiontuple(t, 2) for t in testedwith.split()]
@@ -532,4 +532,4 b' def moduleversion(module):'
532 532
533 533 def ismoduleinternal(module):
534 534 exttestedwith = getattr(module, 'testedwith', None)
535 return exttestedwith == "internal"
535 return exttestedwith == "ships-with-hg-core"
General Comments 0
You need to be logged in to leave comments. Login now