Mercurial > hg > mercurial-source
comparison tests/test-commit-amend.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 | 2c1276825e93 |
children | 1a00c8451640 |
comparison
equal
deleted
inserted
replaced
18266:09a2b6741695 | 18267:5bb610f87d1d |
---|---|
490 | 490 |
491 Test that amend does not make it easy to create obsoletescence cycle | 491 Test that amend does not make it easy to create obsoletescence cycle |
492 --------------------------------------------------------------------- | 492 --------------------------------------------------------------------- |
493 | 493 |
494 | 494 |
495 $ hg id -r 14 | 495 $ hg id -r 14 --hidden |
496 b650e6ee8614 (a) | 496 b650e6ee8614 (a) |
497 $ hg revert -ar 14 | 497 $ hg revert -ar 14 --hidden |
498 reverting a | 498 reverting a |
499 $ hg commit --amend | 499 $ hg commit --amend |
500 $ hg id | 500 $ hg id |
501 b99e5df575f7 (a) tip | 501 b99e5df575f7 (a) tip |
502 | 502 |