Mercurial > hg-stable
diff tests/test-obsolete.t @ 18267:5bb610f87d1d
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.
Code in log dedicated to changeset exclusion is removed as this global filtering
has the same effect.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Tue, 08 Jan 2013 20:37:37 +0100 |
parents | a2cebd3e4daa |
children | ed25fe3a7e2f |
line wrap: on
line diff
--- a/tests/test-obsolete.t Tue Jan 08 21:16:39 2013 +0100 +++ b/tests/test-obsolete.t Tue Jan 08 20:37:37 2013 +0100 @@ -11,7 +11,7 @@ > hg ci -m "add $1" > } $ getid() { - > hg id --debug -ir "desc('$1')" + > hg id --debug --hidden -ir "desc('$1')" > } $ cat > debugkeys.py <<EOF @@ -130,7 +130,7 @@ Check that public changeset are not accounted as obsolete: - $ hg phase --public 2 + $ hg --hidden phase --public 2 $ hg --config 'extensions.graphlog=' glog @ changeset: 5:5601fb93a350 | tag: tip