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

upgrade-reference: drop the "repo-hash" entry

That entry is an implementation details, best to no longer rely on it.
parent 8f47555b
No related branches found
No related tags found
No related merge requests found
......@@ -72,9 +72,9 @@
new_benchrepo = benchrepo_data.copy()
new_benchrepo["reference-repo"]["format-info"] = format_data
# Update the repo hash manually because we need the format info to compute
# the hash
new_benchrepo["reference-repo"]["repo-hash"] = reference_id
# drop legacy "repo-hash" attribute
new_benchrepo["reference-repo"].pop("repo-hash", None)
# Update the associated repo-prefix
new_benchrepo["reference-repo"]["repo-prefix"] = repo_prefix
# And write it
......
......@@ -108,7 +108,6 @@
plain-cl-delta: true
sparserevlog: true
id: my-source-repo
repo-hash: 39241d24
repo-prefix: my-source-repo-39241d24
source: some-dir/my-source-repo
......
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