Closed by commit rHGbbc61f36733c: rust-nodemap: a method for full invalidation
(authored by gracinet).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs
Review".
REPOSITORY
rHG Mercurial
CHANGES S
Alphare updated this revision to Diff 20285.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8098?vs=20280&id=20285
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8098/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D80
kevincox added inline comments.
kevincox accepted this revision.
INLINE COMMENTS
> nodemap.rs:577
> +/// immutable part.
> +pub fn invalidate_all(&mut self) -> () {
> +self.root = Block::new();
`-> ()` is unnecessary.
> nodemap.rs:580
> +self.growable = Vec::new();
> +
Alphare updated this revision to Diff 20280.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8098?vs=20239&id=20280
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8098/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D80
Alphare updated this revision to Diff 20239.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8098?vs=20220&id=20239
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8098/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D80
Alphare updated this revision to Diff 20220.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8098?vs=20030&id=20220
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8098/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D80
marmoute created this revision.
Herald added subscribers: mercurial-devel, kevincox.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This will be used for exceptional operations,
such as a `__delitem__` on the `MixedIndex` with
Rust nodemap.
In principle, `NodeTree` should also