--- a/hgext/largefiles/lfutil.py Mon May 06 18:50:21 2024 +0200
+++ b/hgext/largefiles/lfutil.py Fri Apr 26 19:43:42 2024 +0100
@@ -430,6 +430,7 @@
def composedmatchfn(f):
return isstandin(f) and rmatcher.matchfn(splitstandin(f))
+ smatcher._was_tampered_with = True
smatcher.matchfn = composedmatchfn
return smatcher
@@ -716,6 +717,7 @@
return match
lfiles = listlfiles(repo)
+ match._was_tampered_with = True
match._files = repo._subdirlfs(match.files(), lfiles)
# Case 2: user calls commit with specified patterns: refresh
@@ -746,6 +748,7 @@
# user. Have to modify _files to prevent commit() from
# complaining "not tracked" for big files.
match = copy.copy(match)
+ match._was_tampered_with = True
origmatchfn = match.matchfn
# Check both the list of largefiles and the list of