Bug 1242678 - Disable mozext when running `hg` commands; r?dminor draft
authorGregory Szorc <gps@mozilla.com>
Mon, 25 Jan 2016 12:15:46 -0800
changeset 325516 273590676822cffd7408c4f98c4db5e47b80178c
parent 325488 bd8bb6298d90770f97843e9d7dc711cc0f87d02f
child 513460 6ac1b3fc9d933c91cfa5fded41a239e942e87be1
push id9991
push usergszorc@mozilla.com
push dateMon, 25 Jan 2016 20:15:53 +0000
reviewersdminor
bugs1242678
milestone47.0a1
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)
tools/mercurial/hgsetup/update.py
--- 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])