scmutil: rename filecacheentry to filecachesubentry
Upcoming patches will allow the file cache to watch over multiple files, and
call the decorated function again if any of the files change.
The particular use case for this is the bookmark store, which needs to be
invalidated if either .hg/bookmarks or .hg/bookmarks.current changes. (This
doesn't currently happen, which is a bug. This bug will also be fixed in
upcoming patches.)
basic:
* file doesn't exist
creating
* file still doesn't exist
* empty file x created
creating
* file x changed size
creating
* nothing changed with file x
* file x changed inode
creating
fakeuncacheable:
* file doesn't exist
creating
* file still doesn't exist
creating
* empty file x created
creating
* file x changed size
creating
* nothing changed with file x
creating
* file x changed inode
creating
repository tip rolled back to revision -1 (undo commit)
working directory now based on revision -1
repository tip rolled back to revision -1 (undo commit)
working directory now based on revision -1
setbeforeget:
* file x doesn't exist
string set externally
* file x created
creating
string from function