comparison hgext/lfs/__init__.py @ 38800:7790cd70842a

lfs: remove callstatus property from 'lfs()' fileset It was added at 91aac8e6604d, but is no longer needed since a fileset expression is now compiled into an "open" matcher. See ff5b6fca1082 for details.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 22 Jul 2018 16:03:48 +0900
parents ff5b6fca1082
children b9162ea1b815
comparison
equal deleted inserted replaced
38799:2002c193f2bc 38800:7790cd70842a
355 wrapfunction(vfsmod.readonlyvfs, '__init__', wrapper.vfsinit) 355 wrapfunction(vfsmod.readonlyvfs, '__init__', wrapper.vfsinit)
356 356
357 # when writing a bundle via "hg bundle" command, upload related LFS blobs 357 # when writing a bundle via "hg bundle" command, upload related LFS blobs
358 wrapfunction(bundle2, 'writenewbundle', wrapper.writenewbundle) 358 wrapfunction(bundle2, 'writenewbundle', wrapper.writenewbundle)
359 359
360 @filesetpredicate('lfs()', callstatus=True) 360 @filesetpredicate('lfs()')
361 def lfsfileset(mctx, x): 361 def lfsfileset(mctx, x):
362 """File that uses LFS storage.""" 362 """File that uses LFS storage."""
363 # i18n: "lfs" is a keyword 363 # i18n: "lfs" is a keyword
364 fileset.getargs(x, 0, 0, _("lfs takes no arguments")) 364 fileset.getargs(x, 0, 0, _("lfs takes no arguments"))
365 ctx = mctx.ctx 365 ctx = mctx.ctx