Show More
@@ -22,7 +22,7 b' from mercurial import (' | |||||
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, | |
@@ -110,7 +110,7 b' def lfconvert(ui, src, dest, *pats, **op' | |||||
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 |
|
113 | matcher = matchmod.match(rsrc.root, '', list(pats)) | |
114 | else: |
|
114 | else: | |
115 | matcher = None |
|
115 | matcher = None | |
116 |
|
116 |
General Comments 0
You need to be logged in to leave comments.
Login now