hgext: mark server-side extensions as only compatible with 4.1 (
bug 1333616); r?glob
Now that we've upgraded all servers to Mercurial 4.1.2, we mark
server-side extensions as only compatible with this version. We just
don't care strongly about running these extensions outside our server
environment.
MozReview-Commit-ID: B8mviN8wbLk
--- a/hgext/hgmo/__init__.py
+++ b/hgext/hgmo/__init__.py
@@ -109,18 +109,18 @@ from mercurial.hgweb.protocol import (
OUR_DIR = os.path.dirname(__file__)
ROOT = os.path.normpath(os.path.join(OUR_DIR, '..', '..'))
execfile(os.path.join(OUR_DIR, '..', 'bootstrap.py'))
import mozautomation.commitparser as commitparser
-minimumhgversion = '4.0'
-testedwith = '4.0'
+minimumhgversion = '4.1'
+testedwith = '4.1'
cmdtable = {}
command = cmdutil.command(cmdtable)
@templatefilters.templatefilter('mozlink')
def mozlink(text):
"""Any text. Hyperlink to Bugzilla and other detected things."""
--- a/hgext/obsolescencehacks/__init__.py
+++ b/hgext/obsolescencehacks/__init__.py
@@ -6,18 +6,18 @@
import os
import pwd
from mercurial import (
error,
obsolete,
)
-testedwith = '4.0'
-minimumhgversion = '4.0'
+testedwith = '4.1'
+minimumhgversion = '4.1'
def enableevolutionexchange(repo):
"""Enable obsolescence markers exchange if conditions are met."""
ui = repo.ui
# Nothing to do if obsolescence isn't enabled at all.
opts = (obsolete.createmarkersopt, obsolete.allowunstableopt, obsolete.exchangeopt)
--- a/hgext/reviewboard/server.py
+++ b/hgext/reviewboard/server.py
@@ -51,18 +51,18 @@ execfile(os.path.join(OUR_DIR, '..', 'bo
with demandimport.deactivated():
try:
import hgrb.proto
except ImportError:
sys.path.insert(0, OUR_DIR)
import hgrb.proto
-testedwith = '4.0'
-minimumhgversion = '4.0'
+testedwith = '4.1'
+minimumhgversion = '4.1'
cmdtable = {}
command = cmdutil.command(cmdtable)
# Capabilities the server requires in clients.
#
# Add to this and add a corresponding entry in the client extension to force
--- a/hgext/serverlog/__init__.py
+++ b/hgext/serverlog/__init__.py
@@ -179,18 +179,18 @@ from mercurial import (
wireproto,
)
from mercurial.hgweb import (
protocol,
hgweb_mod,
hgwebdir_mod,
)
-testedwith = '4.0'
-minimumhgversion = '4.0'
+testedwith = '4.1'
+minimumhgversion = '4.1'
origcall = protocol.call
def protocolcall(repo, req, cmd):
"""Wraps mercurial.hgweb.protocol to record requests."""
# TODO figure out why our custom attribute is getting lost in
# production.
--- a/pylib/vcsreplicator/vcsreplicator/hgext.py
+++ b/pylib/vcsreplicator/vcsreplicator/hgext.py
@@ -28,17 +28,17 @@ from mercurial import (
error,
extensions,
hg,
obsolete,
util,
wireproto,
)
-testedwith = '4.0'
+testedwith = '4.1'
cmdtable = {}
command = cmdutil.command(cmdtable)
def precommithook(ui, repo, **kwargs):
# We could probably handle local commits. But our target audience is
# server environments, where local commits shouldn't be happening.