# HG changeset patch # User Mitchell Kember # Date 2024-12-03 20:14:59 # Node ID 4e58b5499860f953d5ae86db78403776599caad9 # Parent 10f98d358f6cdf346f61116166ecc63c3324b799 rhg: add test for bug with matchers in rhg status --rev --rev This bug was not caught before because most tests use the --rev A:B syntax, which rhg does not yet support. diff --git a/tests/test-status.t b/tests/test-status.t --- a/tests/test-status.t +++ b/tests/test-status.t @@ -487,6 +487,27 @@ hg status -A --change 1 and revset: R removed C deleted +Like previous tests but using --rev --rev instead of --change: + + $ hg status --rev 0 --rev 1 + M modified + A added + A copied + R removed + + $ hg status --rev 0 --rev 1 unrelated + M modified (known-bad-output rhg !) + A added (known-bad-output rhg !) + A copied (known-bad-output rhg !) + R removed (known-bad-output rhg !) + + $ hg status -C --rev 0 --rev 1 added modified copied removed deleted + M modified + A added + A copied + modified + R removed + $ cd .. hg status with --rev and reverted changes: