[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Purging pristines

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Thu, 28 Jul 2011 10:09:28 +0100

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
Received on 2011-07-28 11:10:35 CEST

This is an archived mail posted to the Subversion Dev mailing list.