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

Re: svn cleanup and unreferenced pristines

From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Mon, 13 Jan 2014 03:43:01 +0100

On 2014-01-11 22:38:51 +0100, Branko Čibej wrote:
> On 11.01.2014 10:30, Vincent Lefevre wrote:
> > Moreover if you want to speed up things, keeping pristines may not
> > be the right way (in particular if the whole files are kept, not
> > deltas).
>
> FWIW, you can't reasonably store pristines as deltas because you'd have
> to recalculate them every time someone changes the file in the working
> copy; and moreover, there's no foolproof way to detect when the WC files
> are being changed in time to do that. You'd need support from the OS
> filesystem for that (and I don't mean just file change notifications but
> copy-on-write per-file snapshots).

I meant deltas like in the repository (but see below).

> > Caching the repository or a part of the repository may be better.
>
> That's exactly what pristines are.

Not in a memory efficient way! For one of my working copy, a
"svn cleanup" reduced the working copy size by about 2 GB, while
the repository is only 1.5 GB.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Received on 2014-01-13 03:43:43 CET

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