diff -r 7601978f9e9f -r f3b34386d3e0 mercurial/windows.py --- a/mercurial/windows.py Thu Jul 18 19:55:51 2024 -0400 +++ b/mercurial/windows.py Thu Jul 18 19:57:42 2024 -0400 @@ -675,8 +675,10 @@ class cachestat: + stat: Optional[os.stat_result] + def __init__(self, path: bytes) -> None: - pass + self.stat = None def cacheable(self) -> bool: return False