Mercurial > hg
comparison hgext/largefiles/lfcommands.py @ 29317:5ec25534ef4f
largefiles: rename match_ to matchmod import in lfcommands
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Thu, 12 May 2016 11:36:51 +0200 |
parents | 8c378a7d2aa6 |
children | 0d83ad967bf8 |
comparison
equal
deleted
inserted
replaced
29316:28dfcf3d0ad3 | 29317:5ec25534ef4f |
---|---|
20 commands, | 20 commands, |
21 context, | 21 context, |
22 error, | 22 error, |
23 hg, | 23 hg, |
24 lock, | 24 lock, |
25 match as match_, | 25 match as matchmod, |
26 node, | 26 node, |
27 scmutil, | 27 scmutil, |
28 util, | 28 util, |
29 ) | 29 ) |
30 | 30 |
108 lfiles = set() | 108 lfiles = set() |
109 normalfiles = set() | 109 normalfiles = set() |
110 if not pats: | 110 if not pats: |
111 pats = ui.configlist(lfutil.longname, 'patterns', default=[]) | 111 pats = ui.configlist(lfutil.longname, 'patterns', default=[]) |
112 if pats: | 112 if pats: |
113 matcher = match_.match(rsrc.root, '', list(pats)) | 113 matcher = matchmod.match(rsrc.root, '', list(pats)) |
114 else: | 114 else: |
115 matcher = None | 115 matcher = None |
116 | 116 |
117 lfiletohash = {} | 117 lfiletohash = {} |
118 for ctx in ctxs: | 118 for ctx in ctxs: |