Bug 1560826 - Make bootstrap upgrade mercurial when it is older than 4.8. r=nalexander
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 25 Jun 2019 16:50:17 +0000
changeset 480085 cac1aaff7d7b51da082004488956610f881629e5
parent 480084 bd4a8fb77389fc0f47979529bcb206c3064808f2
child 480086 44a166a4efdbfd3270f1e91c854f0dba4e62ddfb
push id36201
push usercsabou@mozilla.com
push dateWed, 26 Jun 2019 03:57:29 +0000
treeherdermozilla-central@a3cad1d7836c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1560826
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1560826 - Make bootstrap upgrade mercurial when it is older than 4.8. r=nalexander 4.3.3 is the strict minimum required for v-c-t's config wizard, but it is preferable people use more modern versions. We could go with 5.0, but it feels like people still using 4.8 and 4.9 don't really need to be bugged to update to a more recent version, they are kind of modern enough. OTOH MozillaBuild comes with 4.5.x, and this will force an upgrade for those. Differential Revision: https://phabricator.services.mozilla.com/D35756
python/mozboot/mozboot/base.py
--- a/python/mozboot/mozboot/base.py
+++ b/python/mozboot/mozboot/base.py
@@ -138,19 +138,17 @@ Paste the lines between the chevrons (>>
 
 >>>
 # Automatically download and use compiled C++ components:
 ac_add_options --enable-artifact-builds
 <<<
 '''
 
 # Upgrade Mercurial older than this.
-# This should match OLDEST_NON_LEGACY_VERSION from
-# the hg setup wizard in version-control-tools.
-MODERN_MERCURIAL_VERSION = LooseVersion('4.3.3')
+MODERN_MERCURIAL_VERSION = LooseVersion('4.8')
 
 # Upgrade Python older than this.
 MODERN_PYTHON_VERSION = LooseVersion('2.7.3')
 
 # Upgrade rust older than this.
 MODERN_RUST_VERSION = LooseVersion('1.35.0')
 
 # Upgrade nasm older than this.