Previously we were invalidating the whole cache for svn files whenever the svn revision changed, but this is overly broad. Most files of a repo will not change when the revision changes, and we should be able to use their cached versions.
This PR changes the cache so that it uses the file's last changed revision as the hash for that file, and does not clear the whole cache based on revision.
Previously we were invalidating the whole cache for svn files whenever the svn revision changed, but this is overly broad. Most files of a repo will not change when the revision changes, and we should be able to use their cached versions.
This PR changes the cache so that it uses the file's last changed revision as the hash for that file, and does not clear the whole cache based on revision.