[PATCH 1 of 6] lfs: remove callstatus property from 'lfs()' fileset

Yuya Nishihara yuya at tcha.org
Thu Aug 2 13:26:01 UTC 2018


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1532243028 -32400
#      Sun Jul 22 16:03:48 2018 +0900
# Node ID ad997e7f6cfc576b4178b962afba58de35c36fc1
# Parent  13dcf5d3761d69386e6b4086b5155f4f95533536
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.

diff --git a/hgext/lfs/__init__.py b/hgext/lfs/__init__.py
--- a/hgext/lfs/__init__.py
+++ b/hgext/lfs/__init__.py
@@ -357,7 +357,7 @@ def extsetup(ui):
     # when writing a bundle via "hg bundle" command, upload related LFS blobs
     wrapfunction(bundle2, 'writenewbundle', wrapper.writenewbundle)
 
- at filesetpredicate('lfs()', callstatus=True)
+ at filesetpredicate('lfs()')
 def lfsfileset(mctx, x):
     """File that uses LFS storage."""
     # i18n: "lfs" is a keyword


More information about the Mercurial-devel mailing list