changeset 15229:89e19ca2a90e

largefiles: use ui.configlist() to split largefiles.patterns
author Greg Ward <greg@gerg.ca>
date Tue, 11 Oct 2011 21:11:01 -0400
parents ee625de3541e
children 697289c5d415
files hgext/largefiles/overrides.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py	Tue Oct 11 21:07:08 2011 -0400
+++ b/hgext/largefiles/overrides.py	Tue Oct 11 21:11:01 2011 -0400
@@ -70,9 +70,8 @@
 
     lfmatcher = None
     if os.path.exists(repo.wjoin(lfutil.shortname)):
-        lfpats = ui.config(lfutil.longname, 'patterns', default=())
+        lfpats = ui.configlist(lfutil.longname, 'patterns', default=[])
         if lfpats:
-            lfpats = lfpats.split(' ')
             lfmatcher = match_.match(repo.root, '', list(lfpats))
 
     lfnames = []