[PATCH 0 of 1] convert: move cvsps cache directory to ~/.cache

Frank A. Kingswood frank at kingswood-consulting.co.uk
Tue Dec 15 19:11:15 CST 2009


timeless wrote:
> On Wed, Dec 16, 2009 at 1:32 AM, Matt Mackall <mpm at selenic.com> wrote:
>> And what happens when we access the same repo from a Linux machine and
>> an OSX machine on the same network share?
>>
>> What if two different users do so?
> 
> The question is this:
> 
> is this data a "cache" or is it data (state).
> 
> If it's a cache, such that the data is entirely unnecessary and can be
> arbitrarily deleted at any time by any thing, then the directory
> renames are perfectly fine.
> 
> If that isn't the case, then the file name is probably unfortunate.

This truly is a cache, so deleting it will just slow down the next 
incremental conversion (possibly by quite a lot).

I think the ~/.cache/ (and ~/.config/) comes from the desktop systems,
see http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html
for the XDG spec that mentions them.

On my laptop I have
	Thunar/  audacious/  mercurial/  sessions/  xfce4/
in ~/.cache.

Frank



More information about the Mercurial-devel mailing list