# HG changeset patch # User Cédric Duval # Date 2009-07-04 10:06:33 # Node ID 609b803dd2523c81e5b0d5373e2cd718b0c3a2f0 # Parent fc5737e491939f19530b6e138909df51a7f44d73 extensions: remove dead code enabled used to be a boolean, and somehow that bit of code inadvertently slipped through during a refactoring. Effectively dead code, as the condition can never be triggered. diff --git a/mercurial/extensions.py b/mercurial/extensions.py --- a/mercurial/extensions.py +++ b/mercurial/extensions.py @@ -166,10 +166,6 @@ def disabled(): def enabled(): '''return a dict of {name: desc} of extensions, and the max name length''' - - if not enabled: - return {}, 0 - exts = {} maxlength = 0 exthelps = []