Skip to content
Snippets Groups Projects
Commit 4a156843 authored by Antoine Pietri's avatar Antoine Pietri
Browse files

api: vault: add M swh/web/api/views/vault.py

Your branch is up-to-date with 'origin/master'. to the view documentation
parent 03406f1d
No related branches found
No related tags found
No related merge requests found
......@@ -112,6 +112,7 @@ def api_vault_cook_revision_gitfast(request, rev_id):
$ git init
$ zcat path/to/revision.gitfast.gz | git fast-import
$ git checkout HEAD
"""
_, obj_id = query.parse_hash_with_algorithms_or_throws(
rev_id, ['sha1'], 'Only sha1_git is supported.')
......
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