# HG changeset patch # User Alecs King # Date 1281529719 -28800 # Node ID 5094e6b2f64099cfcd602d783140828e78ff4cf6 # Parent df52ff0980fee8803fe57cbcafd1031764b733f7 ui: differentiate empty configlist from None diff -r df52ff0980fe -r 5094e6b2f640 mercurial/ui.py --- a/mercurial/ui.py Fri Aug 13 13:11:41 2010 -0300 +++ b/mercurial/ui.py Wed Aug 11 20:28:39 2010 +0800 @@ -218,7 +218,7 @@ def _configlist(s): s = s.rstrip(' ,') if not s: - return None + return [] parser, parts, offset = _parse_plain, [''], 0 while parser: parser, parts, offset = parser(parts, s, offset)