Skip to content
Snippets Groups Projects
Commit c66b5411e175 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

repo-scripts: improves documentation around the repositories

parent 5e5dc5d98117
No related branches found
No related tags found
No related merge requests found
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
#!/bin/bash
#
# This script verifies that a repository is in the expected state and is not
# missing any important caches.
set -euo pipefail
REPO_DIR=${1}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment