Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
scmperf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
scmperf
Commits
c66b5411e175
Commit
c66b5411e175
authored
6 years ago
by
Pierre-Yves David
Browse files
Options
Downloads
Patches
Plain Diff
repo-scripts: improves documentation around the repositories
parent
5e5dc5d98117
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
repo-scripts/README
+32
-0
32 additions, 0 deletions
repo-scripts/README
repo-scripts/validate-repos
+3
-0
3 additions, 0 deletions
repo-scripts/validate-repos
with
35 additions
and
0 deletions
repo-scripts/README
0 → 100644
+
32
−
0
View file @
c66b5411
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
This diff is collapsed.
Click to expand it.
repo-scripts/validate-repos
+
3
−
0
View file @
c66b5411
#!/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
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment