identifying data structure used within repo.status()

Matt Mackall mpm at selenic.com
Sun Feb 17 06:00:26 CST 2008


On Sun, 2008-02-17 at 10:39 +0000, TK Soh wrote:
> I am investigating a potential memory leak in TortoiseHg's overlay
> icon extension that call repo.status() to retrieve the file status. I
> wonder if anyone recognize the follow data structure, and possible
> point me into the right place in Mercurial's source code:
> 
>    {'.hgignore': ('n', 33206, 320, 1201827364, 9),
>     '.hgsigs': ('n', 33206, 792, 1201827364, 7),
>     '.hgtags': ('n', 33206, 829, 1201827364, 7),
>     'CONTRIBUTORS': ('n', 33206, 1663, 1201827364, 12), ...}

That's the dirstate.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list