revsets and --hidden
gilles.moris at free.fr
Sat May 30 05:33:23 CDT 2015
I have been surprised several times that the following command:
$ hg log --rev 'hidden()'
Gvies nothing, then realizing that I need to add --hidden for this to work.
For a basic user, this is difficult to discover this flag, because you
have to dig in "hg help -v" to find it.
From a user's perspective, this could almost be considered as a bug.
This is even more true if you try to use the precursors() revset which
often give hidden commits.
So I think some revsets giving hidden changesets should either:
* implicitly activate --hidden flag
* warn hidden changset can be seen with --hidden
I don't know which one is the best. After leaning for the first
proposition, I am more thinking about a warning.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mercurial-devel