Skip to content
Snippets Groups Projects
Pierre-Yves David's avatar
Pierre-Yves David authored
We are introduce new important configuration data, we should make sure the
upgrade makes it available.
6669ca0a
History
Name Last commit Last update
..
README
make-all
make-partial-repos
make-reference
update-reference-config
upgrade-reference
validate-repos
This directory contains script to deal with the creation of references
repository used during benchmarks

Simple process
==============

Using mercurial version 4.8, make a clone of `https://www.mercurial-scm.org/repo/hg/`
the repository ID will be `mercurial-main`

Local config is ignored, no special optimisation is performed, simply normal
clone.

  $ make-all 4.8 https://www.mercurial-scm.org/repo/hg/ mercurial-main

Creating a new reference
========================

Creating things from scratch

  $ make-reference https://www.mercurial-scm.org/repo/hg/ mercurial-main

From an existing on disk repository
(in this case, the source URL is only used in the metadata). The existing
repository is not touched.

  $ mv my-prepared-mercurial-repo mercurial-main-reference
  $ make-reference https://www.mercurial-scm.org/repo/hg/ mercurial-main

Creating partial subset manually
================================

  $ make-partials-repo ./partial-sets.yaml mercurial-main.benchrepo