# HG changeset patch # User liscju # Date 2016-05-12 09:36:51 # Node ID 5ec25534ef4f215ac61e14af66115beb69a3c9c6 # Parent 28dfcf3d0ad3991482919b958ee6fb2a4fc2a72c largefiles: rename match_ to matchmod import in lfcommands diff --git a/hgext/largefiles/lfcommands.py b/hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py +++ b/hgext/largefiles/lfcommands.py @@ -22,7 +22,7 @@ from mercurial import ( error, hg, lock, - match as match_, + match as matchmod, node, scmutil, util, @@ -110,7 +110,7 @@ def lfconvert(ui, src, dest, *pats, **op 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