Bug 1242678 - Disable mozext when running `hg` commands; r?dminor
We disable various extensions when running `hg` commands as part
of `mach mercurial-setup` because they can interfere with operations.
e.g. if the extension isn't compatible with your version of hg, you
will get an error.
For some reason "mozext" wasn't part of this list. Fix that.
DONTBUILD (NPOTB)
--- a/tools/mercurial/hgsetup/update.py
+++ b/tools/mercurial/hgsetup/update.py
@@ -48,16 +48,17 @@ class MercurialUpdater(object):
def update_mercurial_repo(self, hg, url, dest, branch, msg):
# Disable common extensions whose older versions may cause `hg`
# invocations to abort.
disable_exts = [
'bzexport',
'bzpost',
'firefoxtree',
'hgwatchman',
+ 'mozext',
'mqext',
'qimportbz',
'push-to-try',
'reviewboard',
]
global_args = []
for ext in disable_exts:
global_args.extend(['--config', 'extensions.%s=!' % ext])