From patchwork Sat Jul 15 18:41:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [8,of,9] extensions: expand the builtins extensions declaration From: Boris Feld X-Patchwork-Id: 22412 Message-Id: To: mercurial-devel@mercurial-scm.org Cc: boris.feld@octobus.net Date: Sat, 15 Jul 2017 20:41:11 +0200 # HG changeset patch # User Boris Feld # Date 1500121014 -7200 # Sat Jul 15 14:16:54 2017 +0200 # Node ID f170c4ba9c21f40248b83b511e064474080a0060 # Parent 07c4317cc5f9e3ae8d357c7013743a07227eb89f # EXP-Topic cleanup.color extensions: expand the builtins extensions declaration This will future updates of the set cleaner and more readable. diff -r 07c4317cc5f9 -r f170c4ba9c21 mercurial/extensions.py --- a/mercurial/extensions.py Sat Jul 15 20:31:52 2017 +0200 +++ b/mercurial/extensions.py Sat Jul 15 14:16:54 2017 +0200 @@ -29,8 +29,15 @@ _disabledextensions = {} _aftercallbacks = {} _order = [] -_builtin = {'hbisect', 'bookmarks', 'parentrevspec', 'progress', 'interhg', - 'inotify', 'hgcia'} +_builtin = { + 'hbisect', + 'bookmarks', + 'parentrevspec', + 'progress', + 'interhg', + 'inotify', + 'hgcia' +} def extensions(ui=None): if ui: