[PATCH 00 of 11 v2] filecache decorator
Idan Kamara
idankk86 at gmail.com
Mon Jul 25 07:09:07 CDT 2011
I've done some refactoring on the first few patches, I think it looks much
better and cleaner now.
- we consider the cache reliable only if we have some variant of st_ino.
on Windows we have a file ID on NTFS.
- posix / windows have a new class, 'cachestat', it's reponsible for getting
the necessary file info to determine if a file is cacheable. it can also
determine if a file has changed by comparing two instances of it.
handling Windows is a second priority for now, the summary of that patch
includes a possible plan for NTFS though.
- most of the logic in filecache was moved to a new class, filecacheentry.
- added a test for filecache
More information about the Mercurial-devel
mailing list