[PATCH] inotify: make inotifydirstate.status() returns a tuple of lists
Matt Mackall
mpm at selenic.com
Tue Jul 20 14:50:29 CDT 2010
On Tue, 2010-07-20 at 14:01 -0400, Greg Ward wrote:
> # HG changeset patch
> # User Greg Ward <greg-hg at gerg.ca>
> # Date 1279648847 14400
> # Branch stable
> # Node ID 68a30daead3f1c40a6ce10ebb860e8572f0776aa
> # Parent 0e789549271d52581c1b37e55d63e5196ad29d7e
> inotify: make inotifydirstate.status() returns a tuple of lists.
>
> This makes it consistent with dirstate.status(), which is important if
> there are other extensions messing with the output of status(). Those
> extensions can safely assume that dirstate.status() returns a tuple of
> lists, because its docstring says it does. But
> inotifystatus.dirstate() returns a list of lists, which can break
> those other extensions.
Queued, thanks.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list