Mercurial > hg
annotate tests/artifacts/PURPOSE @ 51238:633408a0f2e2
revlog: always use a Rust index for REVLOGv1 if rustext is present
We are about to change classes such as `rustext.AncestorsIterator` to
take a Rust index, hence we cannot have the option not to use the Rust
index.
Note: this can be refined depending on whether we want to keep this
option or not. We will have to make two versions of `AncestorsIterator`
and its sibling to support REVLOGV2 and CHANGELOGv2 anyway.
Meanwhile, this is the simplest change to make the tests pass.
author | Georges Racinet on incendie.racinet.fr <georges@racinet.fr> |
---|---|
date | Fri, 27 Oct 2023 23:29:29 +0200 |
parents | 966950954fda |
children |
rev | line source |
---|---|
39490
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
1 This directory is meant to cache artifacts useful for tests (such as bundle). |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
2 |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
3 Those artifacts need to be cached because they are slow to regenerate on each |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
4 test but too large to be tracked within the repository. They are not expected |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
5 to change between each run and can be cached. |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
6 |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
7 The `./scripts/` contains code to generate the artifact while the `cache` |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
8 directory contains resulting artifact. |
966950954fda
tests: add a `tests/artifacts/` directory
Boris Feld <boris.feld@octobus.net>
parents:
diff
changeset
|
9 |