Skip to content
Snippets Groups Projects
user avatar
Raphaël Gomès authored
It effectively replicates the ignored files structure without much of its size
b1512d6c
History
Name Last commit Last update
..
README
create-tarball-of-ignored.sh
create-tarball-of-unknowns.sh
generate_unknown_files
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