changeset 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 28dfcf3d0ad3
children 2572bb2e06f8
files hgext/largefiles/lfcommands.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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