mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
ca54b38975
We need to make sure that if X is in the filecache then it's also in the filecache owner's __dict__, otherwise it will go out of sync: repo.X # first access to X, records stat info in # filecache and updates __dict__ repo._filecache.clear() # removes X from _filecache but it's still in __dict__ repo.invalidate() # iterates over _filecache and removes entries # from __dict__, but X isn't in _filecache, so # it's kept in __dict__ repo.X # X is fetched from __dict__, bypassing the filecache
26 lines
347 B
Plaintext
26 lines
347 B
Plaintext
basic:
|
|
|
|
creating
|
|
creating
|
|
creating
|
|
creating
|
|
|
|
fakeuncacheable:
|
|
|
|
creating
|
|
creating
|
|
creating
|
|
creating
|
|
creating
|
|
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:
|
|
|
|
0
|
|
creating
|
|
None
|