[PATCH 1 of 4 Series-B] clfilter: enforce hidden changeset globally

Matt Mackall mpm at selenic.com
Wed Jan 9 18:54:10 CST 2013


On Tue, 2013-01-08 at 14:04 +0100, pierre-yves.david at logilab.fr wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at logilab.fr>
> # Date 1357580178 -3600
> # Node ID a342ff119d504e34d22c5ad52a172d6addf121db
> # Parent  b92288b31fc0c2099068928a7a0ef36cd2dc5a6d
> clfilter: enforce hidden changeset globally
> 
> The dispatch code now enables filtering of "hidden" changesets globally. The
> filter is installed before command and extension invocation. The `--hidden`
> switch is now global and disables this filtering for any command.

Unfortunately, this means that code that doesn't go through dispatch (ie
all those crazy misguided people using Mercurial as a library) are going
to see these hidden changesets.

Might be better to instead install the filter in localrepo construction
by default and disable it in dispatch.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list