[PATCH] dirstate: clear util._fspathcache in __init__ and invalidate
Matt Mackall
mpm at selenic.com
Fri Aug 14 13:07:51 CDT 2009
On Thu, 2009-08-13 at 16:41 +0200, Simon Heimberg wrote:
> # HG changeset patch
> # User Simon Heimberg <simohe at besonet.ch>
> # Date 1250174455 -7200
> # Node ID 0125e93afa6ce133080ff8fbe38edb094b760bb5
> # Parent cb2785c014b0241da4691bfa14b3643349c03db1
> dirstate: clear util._fspathcache in __init__ and invalidate
>
> _fspathcache stores information about files in dirstate
> so clear it for having a defined state
> especially useful on tools which do several commands in one python instance
> (as tortoisehg)
This strongly suggests we have a layering violation to clean up instead.
--
http://selenic.com : development and support for Mercurial and Linux
More information about the Mercurial-devel
mailing list