[PATCH 1 of 2 Repost] move tags.cache and branchheads.cache to a collected cache folder .hg/caches/

Benoit Boissinot benoit.boissinot at ens-lyon.org
Sun Jan 16 12:54:28 CST 2011


On Sun, Jan 16, 2011 at 05:54:13PM +0100, Adrian Buehlmann wrote:
> On 2011-01-16 17:42, Benoit Boissinot wrote:
> > On Sun, Jan 16, 2011 at 02:18:02AM +0100, Jason Harris wrote:
> >> # HG changeset patch
> >> # User jfh <jason at jasonfharris.com>
> >> # Date 1294118948 -3600
> >> # Node ID 65a39818367f9657a291cade204e7f574e919dbc
> >> # Parent  1f4721de2ca9744b3488bf050a11ed23e89889d6
> >> move tags.cache and branchheads.cache to a collected cache folder .hg/caches/
> > 
> > I slightly edited it:
> > - changed to .hg/cache (like others, I find .hg/cache/ more natural on unix)
> > - removed the .cache suffix as suggested by Adrian (it's redundant)
> > 
> > queued, thanks!
> > 
> > Benoit
> 
> Did you consider that using os.path.join is wrong on Windows for forming
> paths for e.g. static-http?

Yes, although the harm isn't very big, since static-http isn't widely
used and is already pretty slow.
> 
> (one of the reasons why we normally use openers for such things...)

Personnally, I'm in favor of adding a cacheopener.

regards,

Benoit
-- 
:wq


More information about the Mercurial-devel mailing list