##// END OF EJS Templates
extensions: document that `testedwith = 'internal'` is special...
Augie Fackler -
r25186:80c5b266 default
parent child Browse files
Show More
@@ -41,6 +41,10 b' from mercurial import cmdutil, context, '
41 from mercurial.i18n import _
41 from mercurial.i18n import _
42 from mercurial.node import nullrev, nullid, short
42 from mercurial.node import nullrev, nullid, short
43
43
44 # Note for extension authors: ONLY specify testedwith = 'internal' for
45 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
46 # be specifying the version(s) of Mercurial they are tested with, or
47 # leave the attribute unspecified.
44 testedwith = 'internal'
48 testedwith = 'internal'
45
49
46 cmdtable = {}
50 cmdtable = {}
@@ -195,6 +195,10 b' from mercurial.i18n import _'
195 from mercurial import util, match
195 from mercurial import util, match
196 import getpass, urllib
196 import getpass, urllib
197
197
198 # Note for extension authors: ONLY specify testedwith = 'internal' for
199 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
200 # be specifying the version(s) of Mercurial they are tested with, or
201 # leave the attribute unspecified.
198 testedwith = 'internal'
202 testedwith = 'internal'
199
203
200 def _getusers(ui, group):
204 def _getusers(ui, group):
@@ -35,6 +35,10 b' import errno, os, re'
35
35
36 cmdtable = {}
36 cmdtable = {}
37 command = cmdutil.command(cmdtable)
37 command = cmdutil.command(cmdtable)
38 # Note for extension authors: ONLY specify testedwith = 'internal' for
39 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
40 # be specifying the version(s) of Mercurial they are tested with, or
41 # leave the attribute unspecified.
38 testedwith = 'internal'
42 testedwith = 'internal'
39 lastblackbox = None
43 lastblackbox = None
40
44
@@ -282,6 +282,10 b' from mercurial.node import short'
282 from mercurial import cmdutil, mail, util
282 from mercurial import cmdutil, mail, util
283 import re, time, urlparse, xmlrpclib
283 import re, time, urlparse, xmlrpclib
284
284
285 # Note for extension authors: ONLY specify testedwith = 'internal' for
286 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
287 # be specifying the version(s) of Mercurial they are tested with, or
288 # leave the attribute unspecified.
285 testedwith = 'internal'
289 testedwith = 'internal'
286
290
287 class bzaccess(object):
291 class bzaccess(object):
@@ -31,6 +31,10 b' from mercurial.i18n import _'
31
31
32 cmdtable = {}
32 cmdtable = {}
33 command = cmdutil.command(cmdtable)
33 command = cmdutil.command(cmdtable)
34 # Note for extension authors: ONLY specify testedwith = 'internal' for
35 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
36 # be specifying the version(s) of Mercurial they are tested with, or
37 # leave the attribute unspecified.
34 testedwith = 'internal'
38 testedwith = 'internal'
35
39
36 @command('censor',
40 @command('censor',
@@ -20,6 +20,10 b' from mercurial.i18n import _'
20
20
21 cmdtable = {}
21 cmdtable = {}
22 command = cmdutil.command(cmdtable)
22 command = cmdutil.command(cmdtable)
23 # Note for extension authors: ONLY specify testedwith = 'internal' for
24 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
25 # be specifying the version(s) of Mercurial they are tested with, or
26 # leave the attribute unspecified.
23 testedwith = 'internal'
27 testedwith = 'internal'
24
28
25 @command('children',
29 @command('children',
@@ -16,6 +16,10 b' import time, datetime'
16
16
17 cmdtable = {}
17 cmdtable = {}
18 command = cmdutil.command(cmdtable)
18 command = cmdutil.command(cmdtable)
19 # Note for extension authors: ONLY specify testedwith = 'internal' for
20 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
21 # be specifying the version(s) of Mercurial they are tested with, or
22 # leave the attribute unspecified.
19 testedwith = 'internal'
23 testedwith = 'internal'
20
24
21 def maketemplater(ui, repo, tmpl):
25 def maketemplater(ui, repo, tmpl):
@@ -162,6 +162,10 b' from mercurial.i18n import _'
162
162
163 cmdtable = {}
163 cmdtable = {}
164 command = cmdutil.command(cmdtable)
164 command = cmdutil.command(cmdtable)
165 # Note for extension authors: ONLY specify testedwith = 'internal' for
166 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
167 # be specifying the version(s) of Mercurial they are tested with, or
168 # leave the attribute unspecified.
165 testedwith = 'internal'
169 testedwith = 'internal'
166
170
167 # start and stop parameters for effects
171 # start and stop parameters for effects
@@ -15,6 +15,10 b' from mercurial.i18n import _'
15
15
16 cmdtable = {}
16 cmdtable = {}
17 command = cmdutil.command(cmdtable)
17 command = cmdutil.command(cmdtable)
18 # Note for extension authors: ONLY specify testedwith = 'internal' for
19 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
20 # be specifying the version(s) of Mercurial they are tested with, or
21 # leave the attribute unspecified.
18 testedwith = 'internal'
22 testedwith = 'internal'
19
23
20 # Commands definition was moved elsewhere to ease demandload job.
24 # Commands definition was moved elsewhere to ease demandload job.
@@ -95,6 +95,10 b' from mercurial.i18n import _'
95 from mercurial import util, config, extensions, match, error
95 from mercurial import util, config, extensions, match, error
96 import re, os
96 import re, os
97
97
98 # Note for extension authors: ONLY specify testedwith = 'internal' for
99 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
100 # be specifying the version(s) of Mercurial they are tested with, or
101 # leave the attribute unspecified.
98 testedwith = 'internal'
102 testedwith = 'internal'
99
103
100 # Matches a lone LF, i.e., one that is not part of CRLF.
104 # Matches a lone LF, i.e., one that is not part of CRLF.
@@ -67,6 +67,10 b' import os, shlex, shutil, tempfile, re'
67
67
68 cmdtable = {}
68 cmdtable = {}
69 command = cmdutil.command(cmdtable)
69 command = cmdutil.command(cmdtable)
70 # Note for extension authors: ONLY specify testedwith = 'internal' for
71 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
72 # be specifying the version(s) of Mercurial they are tested with, or
73 # leave the attribute unspecified.
70 testedwith = 'internal'
74 testedwith = 'internal'
71
75
72 def snapshot(ui, repo, files, node, tmproot):
76 def snapshot(ui, repo, files, node, tmproot):
@@ -15,6 +15,10 b' from mercurial import exchange'
15
15
16 cmdtable = {}
16 cmdtable = {}
17 command = cmdutil.command(cmdtable)
17 command = cmdutil.command(cmdtable)
18 # Note for extension authors: ONLY specify testedwith = 'internal' for
19 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
20 # be specifying the version(s) of Mercurial they are tested with, or
21 # leave the attribute unspecified.
18 testedwith = 'internal'
22 testedwith = 'internal'
19
23
20 @command('fetch',
24 @command('fetch',
@@ -12,6 +12,10 b' from mercurial.i18n import _'
12
12
13 cmdtable = {}
13 cmdtable = {}
14 command = cmdutil.command(cmdtable)
14 command = cmdutil.command(cmdtable)
15 # Note for extension authors: ONLY specify testedwith = 'internal' for
16 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
17 # be specifying the version(s) of Mercurial they are tested with, or
18 # leave the attribute unspecified.
15 testedwith = 'internal'
19 testedwith = 'internal'
16
20
17 class gpg(object):
21 class gpg(object):
@@ -20,6 +20,10 b' from mercurial import cmdutil, commands'
20
20
21 cmdtable = {}
21 cmdtable = {}
22 command = cmdutil.command(cmdtable)
22 command = cmdutil.command(cmdtable)
23 # Note for extension authors: ONLY specify testedwith = 'internal' for
24 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
25 # be specifying the version(s) of Mercurial they are tested with, or
26 # leave the attribute unspecified.
23 testedwith = 'internal'
27 testedwith = 'internal'
24
28
25 @command('glog',
29 @command('glog',
@@ -48,6 +48,10 b' import email.Parser'
48
48
49 import socket, xmlrpclib
49 import socket, xmlrpclib
50 from xml.sax import saxutils
50 from xml.sax import saxutils
51 # Note for extension authors: ONLY specify testedwith = 'internal' for
52 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
53 # be specifying the version(s) of Mercurial they are tested with, or
54 # leave the attribute unspecified.
51 testedwith = 'internal'
55 testedwith = 'internal'
52
56
53 socket_timeout = 30 # seconds
57 socket_timeout = 30 # seconds
@@ -41,6 +41,10 b' from mercurial.i18n import _'
41
41
42 cmdtable = {}
42 cmdtable = {}
43 command = cmdutil.command(cmdtable)
43 command = cmdutil.command(cmdtable)
44 # Note for extension authors: ONLY specify testedwith = 'internal' for
45 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
46 # be specifying the version(s) of Mercurial they are tested with, or
47 # leave the attribute unspecified.
44 testedwith = 'internal'
48 testedwith = 'internal'
45
49
46 @command('debug-diff-tree',
50 @command('debug-diff-tree',
@@ -24,6 +24,10 b" The default is 'colorful'."
24 import highlight
24 import highlight
25 from mercurial.hgweb import webcommands, webutil, common
25 from mercurial.hgweb import webcommands, webutil, common
26 from mercurial import extensions, encoding
26 from mercurial import extensions, encoding
27 # Note for extension authors: ONLY specify testedwith = 'internal' for
28 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
29 # be specifying the version(s) of Mercurial they are tested with, or
30 # leave the attribute unspecified.
27 testedwith = 'internal'
31 testedwith = 'internal'
28
32
29 def filerevision_highlight(orig, web, tmpl, fctx):
33 def filerevision_highlight(orig, web, tmpl, fctx):
@@ -181,6 +181,10 b' from mercurial.i18n import _'
181 cmdtable = {}
181 cmdtable = {}
182 command = cmdutil.command(cmdtable)
182 command = cmdutil.command(cmdtable)
183
183
184 # Note for extension authors: ONLY specify testedwith = 'internal' for
185 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
186 # be specifying the version(s) of Mercurial they are tested with, or
187 # leave the attribute unspecified.
184 testedwith = 'internal'
188 testedwith = 'internal'
185
189
186 # i18n: command names and abbreviations must remain untranslated
190 # i18n: command names and abbreviations must remain untranslated
@@ -91,6 +91,10 b' import os, re, tempfile'
91
91
92 cmdtable = {}
92 cmdtable = {}
93 command = cmdutil.command(cmdtable)
93 command = cmdutil.command(cmdtable)
94 # Note for extension authors: ONLY specify testedwith = 'internal' for
95 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
96 # be specifying the version(s) of Mercurial they are tested with, or
97 # leave the attribute unspecified.
94 testedwith = 'internal'
98 testedwith = 'internal'
95
99
96 # hg commands that do not act on keywords
100 # hg commands that do not act on keywords
@@ -112,6 +112,10 b' import proto'
112 import reposetup
112 import reposetup
113 import uisetup as uisetupmod
113 import uisetup as uisetupmod
114
114
115 # Note for extension authors: ONLY specify testedwith = 'internal' for
116 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
117 # be specifying the version(s) of Mercurial they are tested with, or
118 # leave the attribute unspecified.
115 testedwith = 'internal'
119 testedwith = 'internal'
116
120
117 reposetup = reposetup.reposetup
121 reposetup = reposetup.reposetup
@@ -76,6 +76,10 b" seriesopts = [('s', 'summary', None, _('"
76
76
77 cmdtable = {}
77 cmdtable = {}
78 command = cmdutil.command(cmdtable)
78 command = cmdutil.command(cmdtable)
79 # Note for extension authors: ONLY specify testedwith = 'internal' for
80 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
81 # be specifying the version(s) of Mercurial they are tested with, or
82 # leave the attribute unspecified.
79 testedwith = 'internal'
83 testedwith = 'internal'
80
84
81 # force load strip extension formerly included in mq and import some utility
85 # force load strip extension formerly included in mq and import some utility
@@ -141,6 +141,10 b' from mercurial.i18n import _'
141 from mercurial import patch, cmdutil, util, mail
141 from mercurial import patch, cmdutil, util, mail
142 import fnmatch
142 import fnmatch
143
143
144 # Note for extension authors: ONLY specify testedwith = 'internal' for
145 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
146 # be specifying the version(s) of Mercurial they are tested with, or
147 # leave the attribute unspecified.
144 testedwith = 'internal'
148 testedwith = 'internal'
145
149
146 # template for single changeset can include email headers.
150 # template for single changeset can include email headers.
@@ -59,6 +59,10 b' import atexit, sys, os, signal, subproce'
59 from mercurial import commands, dispatch, util, extensions, cmdutil
59 from mercurial import commands, dispatch, util, extensions, cmdutil
60 from mercurial.i18n import _
60 from mercurial.i18n import _
61
61
62 # Note for extension authors: ONLY specify testedwith = 'internal' for
63 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
64 # be specifying the version(s) of Mercurial they are tested with, or
65 # leave the attribute unspecified.
62 testedwith = 'internal'
66 testedwith = 'internal'
63
67
64 def _pagerfork(ui, p):
68 def _pagerfork(ui, p):
@@ -71,6 +71,10 b' from mercurial.node import bin'
71
71
72 cmdtable = {}
72 cmdtable = {}
73 command = cmdutil.command(cmdtable)
73 command = cmdutil.command(cmdtable)
74 # Note for extension authors: ONLY specify testedwith = 'internal' for
75 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
76 # be specifying the version(s) of Mercurial they are tested with, or
77 # leave the attribute unspecified.
74 testedwith = 'internal'
78 testedwith = 'internal'
75
79
76 def prompt(ui, prompt, default=None, rest=':'):
80 def prompt(ui, prompt, default=None, rest=':'):
@@ -40,6 +40,10 b' import time'
40 import threading
40 import threading
41
41
42 from mercurial.i18n import _
42 from mercurial.i18n import _
43 # Note for extension authors: ONLY specify testedwith = 'internal' for
44 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
45 # be specifying the version(s) of Mercurial they are tested with, or
46 # leave the attribute unspecified.
43 testedwith = 'internal'
47 testedwith = 'internal'
44
48
45 from mercurial import encoding
49 from mercurial import encoding
@@ -30,6 +30,10 b' import os'
30
30
31 cmdtable = {}
31 cmdtable = {}
32 command = cmdutil.command(cmdtable)
32 command = cmdutil.command(cmdtable)
33 # Note for extension authors: ONLY specify testedwith = 'internal' for
34 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
35 # be specifying the version(s) of Mercurial they are tested with, or
36 # leave the attribute unspecified.
33 testedwith = 'internal'
37 testedwith = 'internal'
34
38
35 @command('purge|clean',
39 @command('purge|clean',
@@ -29,6 +29,10 b' revignored = -3'
29
29
30 cmdtable = {}
30 cmdtable = {}
31 command = cmdutil.command(cmdtable)
31 command = cmdutil.command(cmdtable)
32 # Note for extension authors: ONLY specify testedwith = 'internal' for
33 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
34 # be specifying the version(s) of Mercurial they are tested with, or
35 # leave the attribute unspecified.
32 testedwith = 'internal'
36 testedwith = 'internal'
33
37
34 def _savegraft(ctx, extra):
38 def _savegraft(ctx, extra):
@@ -13,6 +13,10 b' from mercurial import util'
13
13
14 cmdtable = {}
14 cmdtable = {}
15 command = cmdutil.command(cmdtable)
15 command = cmdutil.command(cmdtable)
16 # Note for extension authors: ONLY specify testedwith = 'internal' for
17 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
18 # be specifying the version(s) of Mercurial they are tested with, or
19 # leave the attribute unspecified.
16 testedwith = 'internal'
20 testedwith = 'internal'
17
21
18
22
@@ -13,6 +13,10 b' import os, stat'
13
13
14 cmdtable = {}
14 cmdtable = {}
15 command = cmdutil.command(cmdtable)
15 command = cmdutil.command(cmdtable)
16 # Note for extension authors: ONLY specify testedwith = 'internal' for
17 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
18 # be specifying the version(s) of Mercurial they are tested with, or
19 # leave the attribute unspecified.
16 testedwith = 'internal'
20 testedwith = 'internal'
17
21
18 @command('relink', [], _('[ORIGIN]'))
22 @command('relink', [], _('[ORIGIN]'))
@@ -44,6 +44,10 b' import os, re'
44 from mercurial import extensions, hg, templater, util
44 from mercurial import extensions, hg, templater, util
45 from mercurial.i18n import _
45 from mercurial.i18n import _
46
46
47 # Note for extension authors: ONLY specify testedwith = 'internal' for
48 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
49 # be specifying the version(s) of Mercurial they are tested with, or
50 # leave the attribute unspecified.
47 testedwith = 'internal'
51 testedwith = 'internal'
48
52
49
53
@@ -12,6 +12,10 b' import errno'
12
12
13 cmdtable = {}
13 cmdtable = {}
14 command = cmdutil.command(cmdtable)
14 command = cmdutil.command(cmdtable)
15 # Note for extension authors: ONLY specify testedwith = 'internal' for
16 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
17 # be specifying the version(s) of Mercurial they are tested with, or
18 # leave the attribute unspecified.
15 testedwith = 'internal'
19 testedwith = 'internal'
16
20
17 @command('share',
21 @command('share',
@@ -33,6 +33,10 b' import errno'
33
33
34 cmdtable = {}
34 cmdtable = {}
35 command = cmdutil.command(cmdtable)
35 command = cmdutil.command(cmdtable)
36 # Note for extension authors: ONLY specify testedwith = 'internal' for
37 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
38 # be specifying the version(s) of Mercurial they are tested with, or
39 # leave the attribute unspecified.
36 testedwith = 'internal'
40 testedwith = 'internal'
37
41
38 class shelvedfile(object):
42 class shelvedfile(object):
@@ -11,6 +11,10 b' from mercurial import repair, bookmarks,'
11
11
12 cmdtable = {}
12 cmdtable = {}
13 command = cmdutil.command(cmdtable)
13 command = cmdutil.command(cmdtable)
14 # Note for extension authors: ONLY specify testedwith = 'internal' for
15 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
16 # be specifying the version(s) of Mercurial they are tested with, or
17 # leave the attribute unspecified.
14 testedwith = 'internal'
18 testedwith = 'internal'
15
19
16 def checksubstate(repo, baserev=None):
20 def checksubstate(repo, baserev=None):
@@ -26,6 +26,10 b' class TransplantError(error.Abort):'
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
30 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
31 # be specifying the version(s) of Mercurial they are tested with, or
32 # leave the attribute unspecified.
29 testedwith = 'internal'
33 testedwith = 'internal'
30
34
31 class transplantentry(object):
35 class transplantentry(object):
@@ -48,6 +48,10 b' It is useful for the users who want to c'
48 import os, sys
48 import os, sys
49 from mercurial.i18n import _
49 from mercurial.i18n import _
50 from mercurial import util, encoding
50 from mercurial import util, encoding
51 # Note for extension authors: ONLY specify testedwith = 'internal' for
52 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
53 # be specifying the version(s) of Mercurial they are tested with, or
54 # leave the attribute unspecified.
51 testedwith = 'internal'
55 testedwith = 'internal'
52
56
53 _encoding = None # see extsetup
57 _encoding = None # see extsetup
@@ -46,6 +46,10 b' from mercurial.node import short'
46 from mercurial import util
46 from mercurial import util
47 import re
47 import re
48
48
49 # Note for extension authors: ONLY specify testedwith = 'internal' for
50 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
51 # be specifying the version(s) of Mercurial they are tested with, or
52 # leave the attribute unspecified.
49 testedwith = 'internal'
53 testedwith = 'internal'
50
54
51 # regexp for single LF without CR preceding.
55 # regexp for single LF without CR preceding.
@@ -31,6 +31,10 b' from mercurial import ui, hg, encoding, '
31 from mercurial import extensions
31 from mercurial import extensions
32 from mercurial.hgweb import server as servermod
32 from mercurial.hgweb import server as servermod
33
33
34 # Note for extension authors: ONLY specify testedwith = 'internal' for
35 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
36 # be specifying the version(s) of Mercurial they are tested with, or
37 # leave the attribute unspecified.
34 testedwith = 'internal'
38 testedwith = 'internal'
35
39
36 # publish
40 # publish
General Comments 0
You need to be logged in to leave comments. Login now