Mercurial > hg
changeset 16743:38caf405d010
hgext: mark all first-party extensions as such
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 15 May 2012 14:37:49 -0500 |
parents | 973671fc0804 |
children | 1c9f58a6c8f1 |
files | hgext/acl.py hgext/bugzilla.py hgext/children.py hgext/churn.py hgext/color.py hgext/convert/__init__.py hgext/eol.py hgext/extdiff.py hgext/fetch.py hgext/gpg.py hgext/graphlog.py hgext/hgcia.py hgext/hgk.py hgext/highlight/__init__.py hgext/inotify/__init__.py hgext/interhg.py hgext/keyword.py hgext/mq.py hgext/notify.py hgext/pager.py hgext/patchbomb.py hgext/progress.py hgext/purge.py hgext/rebase.py hgext/record.py hgext/relink.py hgext/schemes.py hgext/share.py hgext/transplant.py hgext/win32mbcs.py hgext/win32text.py hgext/zeroconf/__init__.py |
diffstat | 32 files changed, 50 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/acl.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/acl.py Tue May 15 14:37:49 2012 -0500 @@ -152,6 +152,8 @@ from mercurial import util, match import getpass, urllib +testedwith = 'internal' + def _getusers(ui, group): # First, try to use group definition from section [acl.groups]
--- a/hgext/bugzilla.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/bugzilla.py Tue May 15 14:37:49 2012 -0500 @@ -282,6 +282,8 @@ from mercurial import cmdutil, mail, templater, util import re, time, urlparse, xmlrpclib +testedwith = 'internal' + class bzaccess(object): '''Base class for access to Bugzilla.''' @@ -910,4 +912,3 @@ bz.notify(bugs, util.email(ctx.user())) except Exception, e: raise util.Abort(_('Bugzilla error: %s') % e) -
--- a/hgext/children.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/children.py Tue May 15 14:37:49 2012 -0500 @@ -18,6 +18,7 @@ from mercurial.commands import templateopts from mercurial.i18n import _ +testedwith = 'internal' def children(ui, repo, file_=None, **opts): """show the children of the given or working directory revision
--- a/hgext/churn.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/churn.py Tue May 15 14:37:49 2012 -0500 @@ -13,6 +13,8 @@ import os import time, datetime +testedwith = 'internal' + def maketemplater(ui, repo, tmpl): tmpl = templater.parsestring(tmpl, quoted=False) try:
--- a/hgext/color.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/color.py Tue May 15 14:37:49 2012 -0500 @@ -105,6 +105,8 @@ from mercurial import commands, dispatch, extensions, ui as uimod, util from mercurial.i18n import _ +testedwith = 'internal' + # start and stop parameters for effects _effects = {'none': 0, 'black': 30, 'red': 31, 'green': 32, 'yellow': 33, 'blue': 34, 'magenta': 35, 'cyan': 36, 'white': 37, 'bold': 1,
--- a/hgext/convert/__init__.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/convert/__init__.py Tue May 15 14:37:49 2012 -0500 @@ -13,6 +13,8 @@ from mercurial import commands, templatekw from mercurial.i18n import _ +testedwith = 'internal' + # Commands definition was moved elsewhere to ease demandload job. def convert(ui, src, dest=None, revmapfile=None, **opts):
--- a/hgext/eol.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/eol.py Tue May 15 14:37:49 2012 -0500 @@ -94,6 +94,8 @@ from mercurial import util, config, extensions, match, error import re, os +testedwith = 'internal' + # Matches a lone LF, i.e., one that is not part of CRLF. singlelf = re.compile('(^|[^\r])\n') # Matches a single EOL which can either be a CRLF where repeated CR
--- a/hgext/extdiff.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/extdiff.py Tue May 15 14:37:49 2012 -0500 @@ -66,6 +66,8 @@ from mercurial import scmutil, scmutil, util, commands, encoding import os, shlex, shutil, tempfile, re +testedwith = 'internal' + def snapshot(ui, repo, files, node, tmproot): '''snapshot files as of some revision if not using snapshot, -I/-X does not work and recursive diff
--- a/hgext/fetch.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/fetch.py Tue May 15 14:37:49 2012 -0500 @@ -12,6 +12,8 @@ from mercurial import commands, cmdutil, hg, util, error from mercurial.lock import release +testedwith = 'internal' + def fetch(ui, repo, source='default', **opts): '''pull changes from a remote repository, merge new changes if needed.
--- a/hgext/gpg.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/gpg.py Tue May 15 14:37:49 2012 -0500 @@ -12,6 +12,7 @@ cmdtable = {} command = cmdutil.command(cmdtable) +testedwith = 'internal' class gpg(object): def __init__(self, path, key=None): @@ -286,4 +287,3 @@ return "%s\n" % hgnode.hex(node) else: raise util.Abort(_("unknown signature version")) -
--- a/hgext/graphlog.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/graphlog.py Tue May 15 14:37:49 2012 -0500 @@ -20,6 +20,7 @@ cmdtable = {} command = cmdutil.command(cmdtable) +testedwith = 'internal' ASCIIDATA = 'ASC'
--- a/hgext/hgcia.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/hgcia.py Tue May 15 14:37:49 2012 -0500 @@ -48,6 +48,7 @@ import socket, xmlrpclib from xml.sax import saxutils +testedwith = 'internal' socket_timeout = 30 # seconds if util.safehasattr(socket, 'setdefaulttimeout'):
--- a/hgext/hgk.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/hgk.py Tue May 15 14:37:49 2012 -0500 @@ -39,6 +39,8 @@ from mercurial.node import nullid, nullrev, short from mercurial.i18n import _ +testedwith = 'internal' + def difftree(ui, repo, node1=None, node2=None, *files, **opts): """diff trees from two commits""" def __difftree(repo, node1, node2, files=[]):
--- a/hgext/highlight/__init__.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/highlight/__init__.py Tue May 15 14:37:49 2012 -0500 @@ -24,6 +24,7 @@ import highlight from mercurial.hgweb import webcommands, webutil, common from mercurial import extensions, encoding +testedwith = 'internal' def filerevision_highlight(orig, web, tmpl, fctx): mt = ''.join(tmpl('mimetype', encoding=encoding.encoding))
--- a/hgext/inotify/__init__.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/inotify/__init__.py Tue May 15 14:37:49 2012 -0500 @@ -15,6 +15,8 @@ import server from client import client, QueryFailed +testedwith = 'internal' + def serve(ui, repo, **opts): '''start an inotify server for this repository''' server.start(ui, repo.dirstate, repo.root, opts)
--- a/hgext/interhg.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/interhg.py Tue May 15 14:37:49 2012 -0500 @@ -28,6 +28,8 @@ from mercurial import templatefilters, extensions from mercurial.i18n import _ +testedwith = 'internal' + interhg_table = [] def uisetup(ui):
--- a/hgext/keyword.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/keyword.py Tue May 15 14:37:49 2012 -0500 @@ -92,6 +92,7 @@ cmdtable = {} command = cmdutil.command(cmdtable) +testedwith = 'internal' # hg commands that do not act on keywords nokwcommands = ('add addremove annotate bundle export grep incoming init log'
--- a/hgext/mq.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/mq.py Tue May 15 14:37:49 2012 -0500 @@ -73,6 +73,7 @@ cmdtable = {} command = cmdutil.command(cmdtable) +testedwith = 'internal' # Patch names looks like unix-file names. # They must be joinable with queue directory and result in the patch path.
--- a/hgext/notify.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/notify.py Tue May 15 14:37:49 2012 -0500 @@ -128,6 +128,8 @@ from mercurial import patch, cmdutil, templater, util, mail import email.Parser, email.Errors, fnmatch, socket, time +testedwith = 'internal' + # template for single changeset can include email headers. single_template = ''' Subject: changeset in {webroot}: {desc|firstline|strip}
--- a/hgext/pager.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/pager.py Tue May 15 14:37:49 2012 -0500 @@ -51,6 +51,8 @@ from mercurial import commands, dispatch, util, extensions from mercurial.i18n import _ +testedwith = 'internal' + def _runpager(p): pager = subprocess.Popen(p, shell=True, bufsize=-1, close_fds=util.closefds, stdin=subprocess.PIPE,
--- a/hgext/patchbomb.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/patchbomb.py Tue May 15 14:37:49 2012 -0500 @@ -55,6 +55,7 @@ cmdtable = {} command = cmdutil.command(cmdtable) +testedwith = 'internal' def prompt(ui, prompt, default=None, rest=':'): if default:
--- a/hgext/progress.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/progress.py Tue May 15 14:37:49 2012 -0500 @@ -40,6 +40,7 @@ from mercurial import util from mercurial.i18n import _ +testedwith = 'internal' def spacejoin(*args): return ' '.join(s for s in args if s)
--- a/hgext/purge.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/purge.py Tue May 15 14:37:49 2012 -0500 @@ -30,6 +30,7 @@ cmdtable = {} command = cmdutil.command(cmdtable) +testedwith = 'internal' @command('purge|clean', [('a', 'abort-on-err', None, _('abort if an error occurs')),
--- a/hgext/rebase.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/rebase.py Tue May 15 14:37:49 2012 -0500 @@ -26,6 +26,7 @@ cmdtable = {} command = cmdutil.command(cmdtable) +testedwith = 'internal' @command('rebase', [('s', 'source', '',
--- a/hgext/record.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/record.py Tue May 15 14:37:49 2012 -0500 @@ -14,6 +14,7 @@ cmdtable = {} command = cmdutil.command(cmdtable) +testedwith = 'internal' lines_re = re.compile(r'@@ -(\d+),(\d+) \+(\d+),(\d+) @@\s*(.*)')
--- a/hgext/relink.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/relink.py Tue May 15 14:37:49 2012 -0500 @@ -11,6 +11,8 @@ from mercurial.i18n import _ import os, stat +testedwith = 'internal' + def relink(ui, repo, origin=None, **opts): """recreate hardlinks between two repositories
--- a/hgext/schemes.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/schemes.py Tue May 15 14:37:49 2012 -0500 @@ -44,6 +44,8 @@ from mercurial import extensions, hg, templater, util from mercurial.i18n import _ +testedwith = 'internal' + class ShortRepository(object): def __init__(self, url, scheme, templater):
--- a/hgext/share.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/share.py Tue May 15 14:37:49 2012 -0500 @@ -8,6 +8,8 @@ from mercurial.i18n import _ from mercurial import hg, commands, util +testedwith = 'internal' + def share(ui, source, dest=None, noupdate=False): """create a new shared repository
--- a/hgext/transplant.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/transplant.py Tue May 15 14:37:49 2012 -0500 @@ -25,6 +25,7 @@ cmdtable = {} command = cmdutil.command(cmdtable) +testedwith = 'internal' class transplantentry(object): def __init__(self, lnode, rnode):
--- a/hgext/win32mbcs.py Sat May 05 15:12:26 2012 -0500 +++ b/hgext/win32mbcs.py Tue May 15 14:37:49 2012 -0500 @@ -48,6 +48,7 @@ import os, sys from mercurial.i18n import _ from mercurial import util, encoding +testedwith = 'internal' _encoding = None # see extsetup @@ -164,4 +165,3 @@ if '--debug' in sys.argv: ui.write("[win32mbcs] activated with encoding: %s\n" % _encoding) -