[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1794/8267] bitbake: fetch2/gitannex.py: use 'git annex init' instead of 'git annex sync'
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 1794/8267] bitbake: fetch2/gitannex.py: use 'git annex init' instead of 'git annex sync'
- Date: Sat, 16 Dec 2017 22:19:36 +0000 (UTC)
commit 93817932de86e99d76596bf76e19f20319a36ea2
Author: Terry Boese <terry boese vecima com>
Date: Wed Aug 10 09:14:15 2016 -0600
bitbake: fetch2/gitannex.py: use 'git annex init' instead of 'git annex sync'
The git annex fetcher needs git annex to be initialized. Previously
it was using 'git annex sync' to do this, but that has the downside
of moving the checkout to the tip of the default branch. This means
that tags, SRCREV, etc don't work in the gitannex case.
(Bitbake rev: c1a57e2dd7fc96834643be5591a96f239215481a)
Signed-off-by: Terry Boese <terry boese vecima com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
bitbake/lib/bb/fetch2/gitannex.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bitbake/lib/bb/fetch2/gitannex.py b/bitbake/lib/bb/fetch2/gitannex.py
index 0f37897..e4527f1 100644
--- a/bitbake/lib/bb/fetch2/gitannex.py
+++ b/bitbake/lib/bb/fetch2/gitannex.py
@@ -66,7 +66,7 @@ class GitANNEX(Git):
os.chdir(ud.destdir)
try:
- runfetchcmd("%s annex sync" % (ud.basecmd), d)
+ runfetchcmd("%s annex init" % (ud.basecmd), d)
except bb.fetch.FetchError:
pass
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]