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

Re: size of .svn/pristine directory (svn 1.7.x)

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 10 Dec 2013 12:12:06 +0100

On Tue, Dec 10, 2013 at 01:28:52AM +0100, Vincent Lefevre wrote:
> First, "svn help cleanup" currently says:
>
> cleanup: Recursively clean up the working copy, removing locks, resuming
> unfinished operations, etc.
>
> I suggest to change it to something like:
>
> cleanup: Recursively clean up the working copy, removing locks, resuming
> unfinished operations, removing unreferenced pristines, etc.
> In 1.7, we recommend to run "svn cleanup" periodically to reduce the size
> of the working copy.

Perhaps saying "to remove unferenced pristine copies of files" or
something similar is clearer than "reduce the size of the wording copy"?

> I've attached a patch for the svnbook (not tested).

> Index: ch02-basic-usage.xml
> ===================================================================
> --- ch02-basic-usage.xml (revision 4563)
> +++ ch02-basic-usage.xml (working copy)
> @@ -2892,6 +2892,21 @@
>
> </sect2>
>
> + <!-- =============================================================== -->
> + <sect2 id="svn.tour.cleanup.size">
> + <title>Reducing the Size of a Working Copy</title>
> +
> + <para>Subversion 1.7 does not automatically remove pristines
> + that are no longer referenced. As a consequence, a working
> + copy can grow up to several times the size that is really
> + needed. We recommend to run <command>svn cleanup</command>
> + periodically in order to claim back the disk space of
> + unreferenced pristines<footnote><para>See <ulink
> + url="http://subversion.tigris.org/issues/show_bug.cgi?id=4071"
> + /> for details.</para></footnote>.</para>
> +
> + </sect2>
> +
> </sect1>
>
> <!-- ================================================================= -->

Thanks!
This list is not the right list for svnbook patches.
I've forwarded your patch to the right list, and put you in Cc.
Received on 2013-12-10 12:12:44 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.