tests/test-filecache.py.out
author Idan Kamara <idankk86@gmail.com>
Sat, 09 Jul 2011 19:06:59 +0300
changeset 14928 dca59d5be12d
child 18313 3e4a944c0d04
permissions -rw-r--r--
scmutil: introduce filecache The idea is being able to associate a file with a property, and watch that file stat info for modifications when we decide it's important for it to be up-to-date. Once it changes, we recreate the object. On filesystems that can't uniquely identify a file, we always recreate. As a consequence, localrepo.invalidate() will become much less expensive in the case where nothing changed on-disk.

basic:

creating
creating
creating
creating

fakeuncacheable:

creating
creating
creating
creating
creating
creating