[darcs-users] darcs patch: explain global cache a little more clearly
Trent W. Buck
trentbuck at gmail.com
Mon Oct 27 00:12:29 UTC 2008
Simon Michael <simon at joyful.com> writes:
> Sun Oct 26 10:11:25 PDT 2008 Simon Michael <simon at joyful.com>
> * explain global cache a little more clearly
>
>
> New patches:
>
> [explain global cache a little more clearly
> Simon Michael <simon at joyful.com>**20081026171125
> Ignore-this: 73b47bfa1508641d044a0d2bf2e6405e
> ] hunk ./src/best_practices.tex 400
> When working with darcs 2 it is recommended to enable a global cache, as
> this is one of the biggest performance enhancing tools of darcs 2. The
> global cache acts as a giant patch pool where darcs first looks for a
> -patch when grabbing new patches, thus you want it to be on the same file
> -system as your repositories. On file systems that support it, the
> -cached patches are going to be hardlinked (the patch is only stored
> -once, but represented in multiple places) across all of your
> -repositories.
> +patch when grabbing new patches. This saves time by not downloading the
> +same patch twice from a remote server. It also saves space by storing the
> +patch only once, if you ensure your cache and your repositories are on the
> +same hardlink-supporting filesystem,
+1.
More information about the darcs-users
mailing list