On Mon, 2011-07-25, Daniel Shahaf wrote: > I've noticed several times that 'svn cleanup' trims down the > .svn/pristine/ hierarchy: [...] > Are pristines purged at other times?
No. > If not, should we release-note > a recommendation to run 'cleanup' periodically? Yes. And IMO we should work on purging unused pristines automatically, for 1.7.x if possible. I'd like to see purging at a fairly fine-grained level. Does anyone have insight about how to do this? What's in my head is that every WC API operation that could possibly leave unused pristines should attempt to purge unused pristines before returning. The operations that could leave unused pristines are basically 'update' and 'switch', although there may be some lower level WC API calls that can do so too. The set of pristines to be purged could be either all that are currently unused, or just those that became unused during the call. When I mentioned this before there was some sentiment expressed that the delay involved in purging a large set of files could be unacceptably large to a GUI client, but I think automatic purging is important and so we have to find a way to make it acceptable, whether that involves making it even finer grained or adding progress notification for it or something else. Thoughts? - Julian