Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.0 on 2022-01-18 at 14:00 UTC+1 (a few minutes of down time)

rust-nodemap: a method for full invalidation

This will be used for exceptional operations,
such as a `__delitem__` on the `MixedIndex` with
Rust nodemap.

In principle, `NodeTree` should also be able to forget
an entry in an efficient way, by accepting to insert
`Element::None` instead of only `Element::Rev(r)`,
but that seems really overkill at this point. We need
to support exceptional operations such as `__delitem__`,
only for completeness of the revlog index as seen from
Python. The Python callers don't seem to even really
need it, deciding to drop the nodemap inconditionnally at
at higher level when calling `hg strip`. Also, `hg strip`
is very costly for reasons that are unrelated to nodemap
aspects.

Differential Revision: https://phab.mercurial-scm.org/D8098
10 jobs for topic/default/rust-nodemap-submit in 83 minutes and 10 seconds (queued for 15 minutes and 53 seconds)
Status Name Job ID Coverage
  Test
passed checks-py2 #58906

00:02:32

passed checks-py3 #58907

00:02:45

passed rust-cargo-test-py2 #58908

00:02:03

passed rust-cargo-test-py3 #58909

00:02:05

passed test-py2 #58910

00:17:21

failed test-py2-pure #58912

00:39:42

passed test-py2-rust #58914

00:21:26

passed test-py3 #58911

00:16:31

passed test-py3-pure #58913

00:15:42

failed test-py3-rust #58915

00:47:02

 
Name Stage Failure
failed
test-py3-rust Test
Skipped test-sqlitestore.t: missing feature: sqlite3 module is available
Skipped test-verify-repo-operations.py: missing feature: allow slow tests (use --allow-slow-tests)
Skipped test-wireproto-exchangev2-shallow.t: missing feature: sqlite3 module is available
Failed test-debugcommands.t: output changed
Failed test-nointerrupt.t: output changed
Failed test-pull-pull-corruption.t: output changed
# Ran 833 tests, 73 skipped, 3 failed.
python hash seed: 689841739
ERROR: Job failed: exit code 1
failed
test-py2-pure Test
Skipped test-sparse-fsmonitor.t: skipped
Skipped test-sparse-revlog.t: missing artifact, run "/tmp/mercurial-ci/tests/artifacts/scripts/generate-churning-bundle.py"
Skipped test-sqlitestore.t: missing feature: sqlite3 module is available
Skipped test-verify-repo-operations.py: missing feature: allow slow tests (use --allow-slow-tests)
Skipped test-wireproto-exchangev2-shallow.t: missing feature: sqlite3 module is available
Failed test-narrow-shallow.t: output changed
# Ran 835 tests, 71 skipped, 1 failed.
python hash seed: 313419830
ERROR: Job failed: exit code 1