annotate tests/artifacts/PURPOSE @ 46119:9261f6c1d39b

errors: raise StateError when push fails because it creates new heads I decided to raise `StateError` here because the local and remote repos are in an incompatible state. I think remote errors (exit code 100) should be when something goes wrong on the remote and there's nothing the user can do. Differential Revision: https://phab.mercurial-scm.org/D9391
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 23 Nov 2020 16:39:53 -0800
parents 966950954fda
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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