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

login
register
mail settings
Submitter Yuya Nishihara
Date Aug. 2, 2018, 1:26 p.m.
Message ID <ad997e7f6cfc576b4178.1533216361@mimosa>
Download mbox | patch
Permalink /patch/33100/
State Accepted
Headers show

Comments

Yuya Nishihara - Aug. 2, 2018, 1:26 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@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.

Patch

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)
 
-@filesetpredicate('lfs()', callstatus=True)
+@filesetpredicate('lfs()')
 def lfsfileset(mctx, x):
     """File that uses LFS storage."""
     # i18n: "lfs" is a keyword