Show More
@@ -22,7 +22,7 from mercurial import ( | |||
|
22 | 22 | error, |
|
23 | 23 | hg, |
|
24 | 24 | lock, |
|
25 |
match as match |
|
|
25 | match as matchmod, | |
|
26 | 26 | node, |
|
27 | 27 | scmutil, |
|
28 | 28 | util, |
@@ -110,7 +110,7 def lfconvert(ui, src, dest, *pats, **op | |||
|
110 | 110 | if not pats: |
|
111 | 111 | pats = ui.configlist(lfutil.longname, 'patterns', default=[]) |
|
112 | 112 | if pats: |
|
113 |
matcher = match |
|
|
113 | matcher = matchmod.match(rsrc.root, '', list(pats)) | |
|
114 | 114 | else: |
|
115 | 115 | matcher = None |
|
116 | 116 |
General Comments 0
You need to be logged in to leave comments.
Login now