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 <[email protected]> - 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)

Reply via email to