##// END OF EJS Templates
largefiles: use ui.configlist() to split largefiles.patterns
Greg Ward -
r15229:89e19ca2 default
parent child Browse files
Show More
@@ -70,9 +70,8 b' def override_add(orig, ui, repo, *pats, '
70
70
71 lfmatcher = None
71 lfmatcher = None
72 if os.path.exists(repo.wjoin(lfutil.shortname)):
72 if os.path.exists(repo.wjoin(lfutil.shortname)):
73 lfpats = ui.config(lfutil.longname, 'patterns', default=())
73 lfpats = ui.configlist(lfutil.longname, 'patterns', default=[])
74 if lfpats:
74 if lfpats:
75 lfpats = lfpats.split(' ')
76 lfmatcher = match_.match(repo.root, '', list(lfpats))
75 lfmatcher = match_.match(repo.root, '', list(lfpats))
77
76
78 lfnames = []
77 lfnames = []
General Comments 0
You need to be logged in to leave comments. Login now