mercurial/extensions.py
changeset 32417 f40dc6f7c12f
parent 32416 9a3e88d4a030
child 32722 de09138bf0f5
--- a/mercurial/extensions.py	Mon May 22 00:51:56 2017 -0700
+++ b/mercurial/extensions.py	Mon May 22 01:17:49 2017 -0700
@@ -181,7 +181,7 @@
 
 def loadall(ui, whitelist=None):
     result = ui.configitems("extensions")
-    if whitelist:
+    if whitelist is not None:
         result = [(k, v) for (k, v) in result if k in whitelist]
     newindex = len(_order)
     for (name, path) in result: