[PATCH 13 of 16 V3] largefiles: rename match_ to matchmod import in lfcommands
liscju
piotr.listkiewicz at gmail.com
Sat Jun 4 11:23:39 EDT 2016
# HG changeset patch
# User liscju <piotr.listkiewicz at gmail.com>
# Date 1463045811 -7200
# Thu May 12 11:36:51 2016 +0200
# Node ID c62edfd271afd19a9135fa36940875f8ffd0cc2c
# Parent 1ccca15eaff1b6528024176643071c6e26783455
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
More information about the Mercurial-devel
mailing list