@@ -41,6 +41,10 @@ from mercurial import cmdutil, context,
from mercurial.i18n import _
from mercurial.node import nullrev, nullid, short
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
cmdtable = {}
@@ -195,6 +195,10 @@ from mercurial.i18n import _
from mercurial import util, match
import getpass, urllib
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
def _getusers(ui, group):
@@ -35,6 +35,10 @@ import errno, os, re
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
lastblackbox = None
@@ -282,6 +282,10 @@ from mercurial.node import short
from mercurial import cmdutil, mail, util
import re, time, urlparse, xmlrpclib
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
class bzaccess(object):
@@ -31,6 +31,10 @@ from mercurial.i18n import _
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
@command('censor',
@@ -20,6 +20,10 @@ from mercurial.i18n import _
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
@command('children',
@@ -16,6 +16,10 @@ import time, datetime
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
def maketemplater(ui, repo, tmpl):
@@ -162,6 +162,10 @@ from mercurial.i18n import _
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
# start and stop parameters for effects
@@ -15,6 +15,10 @@ from mercurial.i18n import _
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
# Commands definition was moved elsewhere to ease demandload job.
@@ -95,6 +95,10 @@ from mercurial.i18n import _
from mercurial import util, config, extensions, match, error
import re, os
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
# Matches a lone LF, i.e., one that is not part of CRLF.
@@ -67,6 +67,10 @@ import os, shlex, shutil, tempfile, re
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
def snapshot(ui, repo, files, node, tmproot):
@@ -15,6 +15,10 @@ from mercurial import exchange
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
@command('fetch',
@@ -12,6 +12,10 @@ from mercurial.i18n import _
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
class gpg(object):
@@ -20,6 +20,10 @@ from mercurial import cmdutil, commands
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
@command('glog',
@@ -48,6 +48,10 @@ import email.Parser
import socket, xmlrpclib
from xml.sax import saxutils
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
socket_timeout = 30 # seconds
@@ -41,6 +41,10 @@ from mercurial.i18n import _
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
@command('debug-diff-tree',
@@ -24,6 +24,10 @@ The default is 'colorful'.
import highlight
from mercurial.hgweb import webcommands, webutil, common
from mercurial import extensions, encoding
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
def filerevision_highlight(orig, web, tmpl, fctx):
@@ -181,6 +181,10 @@ from mercurial.i18n import _
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
# i18n: command names and abbreviations must remain untranslated
@@ -91,6 +91,10 @@ import os, re, tempfile
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
# hg commands that do not act on keywords
@@ -112,6 +112,10 @@ import proto
import reposetup
import uisetup as uisetupmod
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
reposetup = reposetup.reposetup
@@ -76,6 +76,10 @@ seriesopts = [('s', 'summary', None, _('
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
# force load strip extension formerly included in mq and import some utility
@@ -141,6 +141,10 @@ from mercurial.i18n import _
from mercurial import patch, cmdutil, util, mail
import fnmatch
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
# template for single changeset can include email headers.
@@ -59,6 +59,10 @@ import atexit, sys, os, signal, subproce
from mercurial import commands, dispatch, util, extensions, cmdutil
from mercurial.i18n import _
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
def _pagerfork(ui, p):
@@ -71,6 +71,10 @@ from mercurial.node import bin
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
def prompt(ui, prompt, default=None, rest=':'):
@@ -40,6 +40,10 @@ import time
import threading
from mercurial.i18n import _
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
from mercurial import encoding
@@ -30,6 +30,10 @@ import os
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
@command('purge|clean',
@@ -29,6 +29,10 @@ revignored = -3
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
def _savegraft(ctx, extra):
@@ -13,6 +13,10 @@ from mercurial import util
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
@@ -13,6 +13,10 @@ import os, stat
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
@command('relink', [], _('[ORIGIN]'))
@@ -44,6 +44,10 @@ import os, re
from mercurial import extensions, hg, templater, util
from mercurial.i18n import _
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
@@ -12,6 +12,10 @@ import errno
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
@command('share',
@@ -33,6 +33,10 @@ import errno
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
class shelvedfile(object):
@@ -11,6 +11,10 @@ from mercurial import repair, bookmarks,
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
def checksubstate(repo, baserev=None):
@@ -26,6 +26,10 @@ class TransplantError(error.Abort):
cmdtable = {}
command = cmdutil.command(cmdtable)
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
class transplantentry(object):
@@ -48,6 +48,10 @@ It is useful for the users who want to c
import os, sys
from mercurial.i18n import _
from mercurial import util, encoding
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
_encoding = None # see extsetup
@@ -46,6 +46,10 @@ from mercurial.node import short
from mercurial import util
import re
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
# regexp for single LF without CR preceding.
@@ -31,6 +31,10 @@ from mercurial import ui, hg, encoding,
from mercurial import extensions
from mercurial.hgweb import server as servermod
+# Note for extension authors: ONLY specify testedwith = 'internal' for
+# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
+# be specifying the version(s) of Mercurial they are tested with, or
+# leave the attribute unspecified.
testedwith = 'internal'
# publish