Mercurial > hg
comparison hgext/largefiles/overrides.py @ 34756:3f3c6d12095d
configitems: register the 'largefiles.patterns' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 13 Oct 2017 22:26:58 +0200 |
parents | ac0cd81e2f83 |
children | 67b7e39b441b |
comparison
equal
deleted
inserted
replaced
34755:66adbe3c1046 | 34756:3f3c6d12095d |
---|---|
109 lfsize = lfutil.getminsize( | 109 lfsize = lfutil.getminsize( |
110 ui, lfutil.islfilesrepo(repo), opts.get(r'lfsize')) | 110 ui, lfutil.islfilesrepo(repo), opts.get(r'lfsize')) |
111 | 111 |
112 lfmatcher = None | 112 lfmatcher = None |
113 if lfutil.islfilesrepo(repo): | 113 if lfutil.islfilesrepo(repo): |
114 lfpats = ui.configlist(lfutil.longname, 'patterns', default=[]) | 114 lfpats = ui.configlist(lfutil.longname, 'patterns') |
115 if lfpats: | 115 if lfpats: |
116 lfmatcher = matchmod.match(repo.root, '', list(lfpats)) | 116 lfmatcher = matchmod.match(repo.root, '', list(lfpats)) |
117 | 117 |
118 lfnames = [] | 118 lfnames = [] |
119 m = matcher | 119 m = matcher |