Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-loader-mercurial
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Development
swh-loader-mercurial
Commits
7238bd53
Verified
Commit
7238bd53
authored
5 years ago
by
Antoine R. Dumont
Browse files
Options
Downloads
Patches
Plain Diff
tasks: Enforce kwargs use in task message
parent
8234d8da
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
swh/loader/mercurial/tasks.py
+2
-2
2 additions, 2 deletions
swh/loader/mercurial/tasks.py
with
2 additions
and
2 deletions
swh/loader/mercurial/tasks.py
+
2
−
2
View file @
7238bd53
...
...
@@ -9,7 +9,7 @@ from .loader import HgBundle20Loader, HgArchiveBundle20Loader
@shared_task
(
name
=
__name__
+
'
.LoadMercurial
'
)
def
load_hg
(
url
,
directory
=
None
,
visit_date
=
None
):
def
load_hg
(
*
,
url
,
directory
=
None
,
visit_date
=
None
):
"""
Mercurial repository loading
Import a mercurial tarball into swh.
...
...
@@ -23,7 +23,7 @@ def load_hg(url, directory=None, visit_date=None):
@shared_task
(
name
=
__name__
+
'
.LoadArchiveMercurial
'
)
def
load_hg_from_archive
(
url
,
archive_path
=
None
,
visit_date
=
None
):
def
load_hg_from_archive
(
*
,
url
,
archive_path
=
None
,
visit_date
=
None
):
"""
Import a mercurial tarball into swh.
Args: see :func:`DepositLoader.load`.
...
...
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