[gnome-ostree] git-mirror: If we're fetching, do that before resolving tags
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] git-mirror: If we're fetching, do that before resolving tags
- Date: Tue, 14 Aug 2012 21:51:48 +0000 (UTC)
commit 3fc76e8ef4dc8e6313376bb372e96cb6f9a153b8
Author: Colin Walters <walters verbum org>
Date: Tue Aug 14 17:51:04 2012 -0400
git-mirror: If we're fetching, do that before resolving tags
Otherwise we fall over if the manifest specifies a tag/revision that
we haven't fetched yet.
src/ostbuild/pyostbuild/builtin_git_mirror.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtin_git_mirror.py b/src/ostbuild/pyostbuild/builtin_git_mirror.py
index 5895c91..986371b 100755
--- a/src/ostbuild/pyostbuild/builtin_git_mirror.py
+++ b/src/ostbuild/pyostbuild/builtin_git_mirror.py
@@ -81,7 +81,7 @@ class OstbuildGitMirror(builtins.Builtin):
tag = component.get('tag')
branch_or_tag = branch or tag
- if (not args.fetch) or (tag is not None):
+ if (not args.fetch):
vcs.ensure_vcs_mirror(self.mirrordir, keytype, uri, branch_or_tag)
continue
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]