--- a/hgext/color.py Mon May 25 22:44:53 2009 +0200
+++ b/hgext/color.py Mon May 25 22:54:16 2009 +0200
@@ -62,7 +62,7 @@
diff.trailingwhitespace = bold red_background
'''
-import os, re, sys
+import os, sys
from mercurial import cmdutil, commands, extensions
from mercurial.i18n import _
@@ -265,6 +265,6 @@
])
for status in effectsmap:
- effects = ui.config('color', cmd + '.' + status)
+ effects = ui.configlist('color', cmd + '.' + status)
if effects:
- effectsmap[status] = re.split('\W+', effects)
+ effectsmap[status] = effects