[PATCH 13 of 19] context: separateworkingctx stats and raw status

Kevin Bullock kbullock+mercurial at ringworld.org
Sun Feb 10 21:28:20 CST 2013


On 10 Feb 2013, at 11:30 PM, David Schleimer wrote:

> # HG changeset patch
> # User David Schleimer <dschleimer at fb.com>
> # Date 1360413190 28800
> # Node ID 1bae6048dd1028bb6b7506ec1ecb73bd819e7449
> # Parent  cb00b77bc8e24c68b5b4df5e484f7c005f12d2d1
> context: separateworkingctx stats and raw status
> 
> Split the workingctx _status property cache into _status, which is
> possibly filtered, and _rawstatus which is never filtered.  By
> default, _status proxies to _rawstatus, and then replaces itself with
> the results.  Calling status() will update the _status property.
> Subsequent changes will change status() to sometimes result in
> filtered changes getting written to _status.  the point of this change
> is to make sure the workingctx will have access to the unfiltered
> status.

"Filtered" and "unfiltered" are terms that are throwing me off in this context, because we use those terms for the repo and changelog already. Can we be more explicit about how we're describing the new function?

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list