largefiles: rename match_ to matchmod import in lfcommands
authorliscju <piotr.listkiewicz@gmail.com>
Thu, 12 May 2016 11:36:51 +0200
changeset 29317 5ec25534ef4f
parent 29316 28dfcf3d0ad3
child 29318 2572bb2e06f8
largefiles: rename match_ to matchmod import in lfcommands
hgext/largefiles/lfcommands.py
--- a/hgext/largefiles/lfcommands.py	Tue May 10 15:20:04 2016 +0200
+++ b/hgext/largefiles/lfcommands.py	Thu May 12 11:36:51 2016 +0200
@@ -22,7 +22,7 @@
     error,
     hg,
     lock,
-    match as match_,
+    match as matchmod,
     node,
     scmutil,
     util,
@@ -110,7 +110,7 @@
             if not pats:
                 pats = ui.configlist(lfutil.longname, 'patterns', default=[])
             if pats:
-                matcher = match_.match(rsrc.root, '', list(pats))
+                matcher = matchmod.match(rsrc.root, '', list(pats))
             else:
                 matcher = None