hgext/largefiles/reposetup.py
changeset 51634 e32f23f15623
parent 50538 862e3a13da44
child 51749 493034cc3265
--- a/hgext/largefiles/reposetup.py	Mon May 06 18:50:21 2024 +0200
+++ b/hgext/largefiles/reposetup.py	Fri Apr 26 19:43:42 2024 +0100
@@ -181,6 +181,7 @@
                     return newfiles
 
                 m = copy.copy(match)
+                m._was_tampered_with = True
                 m._files = tostandins(m._files)
 
                 result = orig(
@@ -193,6 +194,7 @@
                         dirstate = self.dirstate
                         return sf in dirstate or dirstate.hasdir(sf)
 
+                    match._was_tampered_with = True
                     match._files = [f for f in match._files if sfindirstate(f)]
                     # Don't waste time getting the ignored and unknown
                     # files from lfdirstate