batchfetch 1.2.0__tar.gz → 1.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {batchfetch-1.2.0/batchfetch.egg-info → batchfetch-1.2.1}/PKG-INFO +1 -1
- {batchfetch-1.2.0 → batchfetch-1.2.1}/batchfetch/batchfetch_git.py +3 -3
- {batchfetch-1.2.0 → batchfetch-1.2.1/batchfetch.egg-info}/PKG-INFO +1 -1
- {batchfetch-1.2.0 → batchfetch-1.2.1}/setup.py +1 -1
- {batchfetch-1.2.0 → batchfetch-1.2.1}/.gitignore +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/LICENSE +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/README.md +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/batchfetch/__init__.py +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/batchfetch/batchfetch_base.py +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/batchfetch/batchfetch_cli.py +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/batchfetch/helpers.py +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/batchfetch.egg-info/SOURCES.txt +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/batchfetch.egg-info/dependency_links.txt +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/batchfetch.egg-info/entry_points.txt +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/batchfetch.egg-info/requires.txt +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/batchfetch.egg-info/top_level.txt +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/run_tests.sh +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/setup.cfg +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/tests/data/test-md5sum.txt +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/tests/data/test-run_simple.sh +0 -0
- {batchfetch-1.2.0 → batchfetch-1.2.1}/tests/test_helpers.py +0 -0
|
@@ -103,7 +103,7 @@ class BatchFetchGit(TaskBatchFetch):
|
|
|
103
103
|
|
|
104
104
|
# Backward compatibility
|
|
105
105
|
if "reference" in self._item_values \
|
|
106
|
-
and
|
|
106
|
+
and "revision" not in self._item_values:
|
|
107
107
|
self._item_values["revision"] = "reference"
|
|
108
108
|
|
|
109
109
|
is_clone = False
|
|
@@ -425,11 +425,11 @@ class BatchFetchGit(TaskBatchFetch):
|
|
|
425
425
|
git_ref_branch = self._git_tags("origin/" +
|
|
426
426
|
self["revision"] +
|
|
427
427
|
"^{commit}")[0]
|
|
428
|
-
except GitRevisionDoesNotExist
|
|
428
|
+
except GitRevisionDoesNotExist:
|
|
429
429
|
# Check if the commit ref exists
|
|
430
430
|
try:
|
|
431
431
|
git_ref_branch = self._git_tags(self["revision"])[0]
|
|
432
|
-
except
|
|
432
|
+
except GitRevisionDoesNotExist as err:
|
|
433
433
|
raise BatchFetchError(f"The branch '{self['revision']}' "
|
|
434
434
|
"does not exist.") from err
|
|
435
435
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|