hgext: mark client-side extensions as compatible with Mercurial 5.1 (Bug 1569741)
authorConnor Sheehan <sheehan@mozilla.com>
Thu, 01 Aug 2019 17:56:35 -0400
changeset 7147 9efa8e908c258d269d6c63ff2b2233899af31eef
parent 7146 9905724dba20cff2583bcf1c6a0b5c31232ab366
child 7148 01ef6e45d82167bc173c4c651c6646d2ea8f1267
push id3556
push usercosheehan@mozilla.com
push dateThu, 01 Aug 2019 22:03:49 +0000
treeherderversion-control-tools@9efa8e908c25 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1569741
hgext: mark client-side extensions as compatible with Mercurial 5.1 (Bug 1569741) No changes needed for passing tests in any of these extensions.
hgext/clang-format/__init__.py
hgext/configwizard/__init__.py
hgext/firefoxtree/__init__.py
hgext/format-source/__init__.py
hgext/js-format/__init__.py
hgext/mozext/__init__.py
hgext/push-to-try/__init__.py
hgext/robustcheckout/__init__.py
--- a/hgext/clang-format/__init__.py
+++ b/hgext/clang-format/__init__.py
@@ -22,17 +22,17 @@ from mercurial import (
 
 OUR_DIR = os.path.dirname(__file__)
 with open(os.path.join(OUR_DIR, '..', 'bootstrap.py')) as f:
     exec(f.read())
 
 from mozhg.util import is_firefox_repo
 
 
-testedwith = '4.4 4.5 4.6 4.7 4.8 4.9 5.0'
+testedwith = '4.4 4.5 4.6 4.7 4.8 4.9 5.0 5.1'
 minimumhgversion = '4.4'
 buglink = 'https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox%20Build%20System&component=Lint%20and%20Formatting'  # noqa: E501
 
 
 def call_clang_format(repo, changed_files):
     '''Call `./mach clang-format` on the changed files'''
     # We have also a copy of this list in:
     # python/mozbuild/mozbuild/mach_commands.py
--- a/hgext/configwizard/__init__.py
+++ b/hgext/configwizard/__init__.py
@@ -396,17 +396,17 @@ Your hgrc file is currently readable by 
 
 Sensitive information such as your Bugzilla credentials could be
 stolen if others have access to this file/machine.
 
 Would you like to fix the file permissions (Yn) $$ &Yes $$ &No
 '''.strip()
 
 
-testedwith = '4.3 4.4 4.5 4.6 4.7 4.8 4.9 5.0'
+testedwith = '4.3 4.4 4.5 4.6 4.7 4.8 4.9 5.0 5.1'
 buglink = 'https://bugzilla.mozilla.org/enter_bug.cgi?product=Developer%20Services&component=Mercurial%3A%20configwizard'
 
 cmdtable = {}
 
 # We want the extension to load on ancient versions of Mercurial.
 # cmdutil.command was introduced in 1.9.
 # registrar.command was introduced in 4.3 as a replacement for cmdutil.command.
 # The registrar module itself was introduced around Mercurial 4.0.
--- a/hgext/firefoxtree/__init__.py
+++ b/hgext/firefoxtree/__init__.py
@@ -119,17 +119,17 @@ logcmdutil = import_module('mercurial.lo
 
 # TRACKING hg47
 templateutil = import_module('mercurial.templateutil')
 
 wireproto = import_module('mercurial.wireprotov1server')
 if not wireproto:
     wireproto = import_module('mercurial.wireproto')
 
-testedwith = '4.6 4.7 4.8 4.9 5.0'
+testedwith = '4.6 4.7 4.8 4.9 5.0 5.1'
 minimumhgversion = '4.6'
 buglink = 'https://bugzilla.mozilla.org/enter_bug.cgi?product=Developer%20Services&component=Mercurial%3A%20firefoxtree'
 # The root revisions in mozilla-central and comm-central, respectively.
 MOZ_ROOT_REV = '8ba995b74e18334ab3707f27e9eb8f4e37ba3d29'
 COMM_ROOT_REV = 'e4f4569d451a5e0d12a6aa33ebd916f979dd8faa'
 
 cmdtable = {}
 configtable = {}
--- a/hgext/format-source/__init__.py
+++ b/hgext/format-source/__init__.py
@@ -71,17 +71,17 @@ OUR_DIR = os.path.dirname(__file__)
 with open(os.path.join(OUR_DIR, '..', 'bootstrap.py')) as f:
     exec(f.read())
 
 from mozhg.util import (
     is_firefox_repo,
 )
 
 __version__ = '0.1.0.dev'
-testedwith = '4.4 4.5 4.6 4.7 4.8 4.9 5.0'
+testedwith = '4.4 4.5 4.6 4.7 4.8 4.9 5.0 5.1'
 minimumhgversion = '4.4'
 buglink = 'https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox%20Build%20System&component=Lint%20and%20Formatting'
 
 cmdtable = {}
 
 if util.safehasattr(registrar, 'command'):
     command = registrar.command(cmdtable)
 else: # compat with hg < 4.3
--- a/hgext/js-format/__init__.py
+++ b/hgext/js-format/__init__.py
@@ -22,17 +22,17 @@ from mercurial import (
 
 OUR_DIR = os.path.dirname(__file__)
 with open(os.path.join(OUR_DIR, '..', 'bootstrap.py')) as f:
     exec(f.read())
 
 from mozhg.util import is_firefox_repo
 
 
-testedwith = '4.4 4.5 4.6 4.7 4.8 4.9 5.0'
+testedwith = '4.4 4.5 4.6 4.7 4.8 4.9 5.0 5.1'
 minimumhgversion = '4.4'
 buglink = 'https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox%20Build%20System&component=Lint%20and%20Formatting'  # noqa: E501
 
 
 def call_js_format(repo, changed_files):
     '''Call `./mach eslint --fix` on the changed files'''
     extensions = (".js", ".jsx", ".jsm")
     path_list = []
--- a/hgext/mozext/__init__.py
+++ b/hgext/mozext/__init__.py
@@ -286,17 +286,17 @@ with demandimport.deactivated():
         REPOS,
         resolve_trees_to_official,
         resolve_trees_to_uris,
         resolve_uri_to_tree,
         treeherder_url,
         TREE_ALIASES,
     )
 
-testedwith = '4.6 4.7 4.8 4.9 5.0'
+testedwith = '4.6 4.7 4.8 4.9 5.0 5.1'
 minimumhgversion = '4.6'
 buglink = 'https://bugzilla.mozilla.org/enter_bug.cgi?product=Developer%20Services&component=Mercurial%3A%20mozext'
 
 cmdtable = {}
 
 command = registrar.command(cmdtable)
 
 revsetpredicate = registrar.revsetpredicate()
--- a/hgext/push-to-try/__init__.py
+++ b/hgext/push-to-try/__init__.py
@@ -23,17 +23,17 @@ cmdtable = {}
 command = registrar.command(cmdtable)
 
 configtable = {}
 configitem = registrar.configitem(configtable)
 
 configitem(b'push-to-try', b'nodate',
            default=False)
 
-testedwith = b'4.6 4.7 4.8 4.9 5.0'
+testedwith = b'4.6 4.7 4.8 4.9 5.0 5.1'
 minimumhgversion = b'4.6'
 
 @command(b'push-to-try', [
     (b'm', b'message', b'', b'commit message to use', b'MESSAGE'),
     (b's', b'server', b'', b'push destination', b'URL'),
 ], b'-m MESSAGE -s URL')
 def push_to_try(ui, repo, server, message=None):
 
--- a/hgext/robustcheckout/__init__.py
+++ b/hgext/robustcheckout/__init__.py
@@ -45,17 +45,17 @@ try:
     from mercurial import configitems
     configitems.dynamicdefault
 except ImportError:
     configitems = None
 
 # Causes worker to purge caches on process exit and for task to retry.
 EXIT_PURGE_CACHE = 72
 
-testedwith = '4.3 4.4 4.5 4.6 4.7 4.8 4.9 5.0'
+testedwith = '4.3 4.4 4.5 4.6 4.7 4.8 4.9 5.0 5.1'
 minimumhgversion = '4.3'
 
 cmdtable = {}
 
 # TRACKING hg43 Mercurial 4.3 introduced registrar.command as a replacement for
 # cmdutil.command.
 if util.safehasattr(registrar, 'command'):
     command = registrar.command(cmdtable)