tests/artifacts/PURPOSE
author Pulkit Goyal <pulkit@yandex-team.ru>
Tue, 18 Sep 2018 13:41:16 +0300
changeset 39689 f1844a10ee19
parent 39507 966950954fda
permissions -rw-r--r--
narrow: don't send the changelog information when widening without ellipses When we widen anon-ellipses narrow copy, the server sends the changelog information of all the changesets. The code was copied from ellipses case and in ellipses cases, it's required to send the new changelog data. But in non-ellipses cases, we don't need to send the changelog data as we will have all the changesets locally. Before this patch, there was a overhead of ~8-10 mins on each widening call because of all the changelog information being pulled and being applied. After this patch, we no more pull the changelog information. So this patch can save ~5 mins on Mozilla repo on each widening and more on repos which have more changesets. When we apply an empty changelog from changegroup, there is a devel-warn. This patch kind of hacks to silence that devel-warn. Differential Revision: https://phab.mercurial-scm.org/D4639
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
39507
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