[PATCH 2 of 2] graphlog: support --hidden

Matt Mackall mpm at selenic.com
Tue Feb 28 15:31:06 CST 2012


On Tue, 2012-02-28 at 15:10 +0100, Patrick Mezard wrote:
> # HG changeset patch
> # User Patrick Mezard <patrick at mezard.eu>
> # Date 1330438089 -3600
> # Node ID 7262672c92a87ddaf3e611e0ad1c5f5acb071018
> # Parent  a1a5c8b889ca2cf447bd80af8eb19f4101646dce
> graphlog: support --hidden
> 
> At this point "hg log --graph" should support all "hg log" options.
> 
> I am not fond of the way --hidden is "polluting" all generated expressions,
> even more given it is a currently useless option. At least it shows what kind
> of impact implementing --hidden for other commands might have, and what kind of
> support we might want at revset API or elsewhere.

Yeah, I think it's better to ignore this issue until we have something
that actually implements/relies on the hidden concept in core. We'll
probably implement this at a deeper level so that it doesn't have this
ripple effect. So I'm going to drop these for now, we can work out what
to do when --hidden stops being a no-op.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list