[PATCH 14 of 17 V2] largefiles: rename match_ to matchmod import in lfcommands
liscju
piotr.listkiewicz at gmail.com
Thu May 12 06:20:36 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 468a3050667a86ea8c848ee94ba4c071bcae2f51
# Parent a048e92f44e824f158e7918f12c82fac8a83d086
largefiles: rename match_ to matchmod import in lfcommands
diff -r a048e92f44e8 -r 468a3050667a 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 @@ 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(storeutil.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