Patchwork [8,of,9] extensions: expand the builtins extensions declaration

login
register
mail settings
Submitter Boris Feld
Date July 15, 2017, 6:41 p.m.
Message ID <f170c4ba9c21f40248b8.1500144071@FB>
Download mbox | patch
Permalink /patch/22412/
State Accepted
Headers show

Comments

Boris Feld - July 15, 2017, 6:41 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# 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.

Patch

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: