--- a/hgext/lfs/__init__.py Sat Jul 21 15:23:56 2018 +0900
+++ b/hgext/lfs/__init__.py Sun Jul 22 15:50:45 2018 +0900
@@ -136,7 +136,7 @@
exchange,
extensions,
filelog,
- fileset,
+ filesetlang,
hg,
localrepo,
minifileset,
@@ -261,7 +261,7 @@
# deprecated config: lfs.threshold
threshold = repo.ui.configbytes('lfs', 'threshold')
if threshold:
- fileset.parse(trackspec) # make sure syntax errors are confined
+ filesetlang.parse(trackspec) # make sure syntax errors are confined
trackspec = "(%s) | size('>%d')" % (trackspec, threshold)
return minifileset.compile(trackspec)
@@ -361,7 +361,7 @@
def lfsfileset(mctx, x):
"""File that uses LFS storage."""
# i18n: "lfs" is a keyword
- fileset.getargs(x, 0, 0, _("lfs takes no arguments"))
+ filesetlang.getargs(x, 0, 0, _("lfs takes no arguments"))
ctx = mctx.ctx
def lfsfilep(f):
return wrapper.pointerfromctx(ctx, f, removed=True) is not None