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
d73de2f3c0ff
Commit
d73de2f3c0ff
authored
5 years ago
by
Pierre-Yves David
Browse files
Options
Downloads
Patches
Plain Diff
upgrade-reference: rename `partial_revset` to `partial_sets`
Small refactoring to clarify the code.
parent
f1196743b939
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
repo-scripts/upgrade-reference
+4
-4
4 additions, 4 deletions
repo-scripts/upgrade-reference
with
4 additions
and
4 deletions
repo-scripts/upgrade-reference
+
4
−
4
View file @
d73de2f3
...
...
@@ -100,6 +100,6 @@
# Now check if we have partials archives with the old prefix in the same
# directory as the reference archive
partial_config
=
read_yaml
(
partial_sets_config_path
)
partial_
rev
set
=
partial_config
[
"
partial-sets
"
]
partial_set
s
=
partial_config
[
"
partial-sets
"
]
rename_partials
(
...
...
@@ -104,6 +104,6 @@
rename_partials
(
partial_
rev
set
,
partial_set
s
,
old_repo_prefix
,
reference_archive_directory
,
repo_prefix
,
...
...
@@ -112,7 +112,7 @@
def
rename_partials
(
partial_
rev
set
,
partial_set
s
,
old_repo_prefix
,
reference_archive_directory
,
repo_prefix
,
...
...
@@ -120,7 +120,7 @@
):
"""
Check and rename the partials for the old reference tar
"""
for
pset
,
setconfig
in
sorted
(
partial_
rev
set
.
items
()):
for
pset
,
setconfig
in
sorted
(
partial_set
s
.
items
()):
repo_suffix
=
pset
old_partial_name
=
"
{}-partial-{}.tar
"
.
format
(
...
...
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