Repo init reference throws couldn't read errors.

429 views
Skip to first unread message

Prince Cooper

unread,
Jun 21, 2021, 2:31:29 AM6/21/21
to Repo and Gerrit Discussion
Reference command seems won't work for now.

Here's the output :
~/lineage $ cd ~/pixelext && repo init --reference=~/lineage --depth=1 -u https://github. com/PixelExtended/manifest -b eleven
error: Could not read 3b3bee1952b8f8a14521cd605336fdce5085f0e6
remote: Enumerating objects: 8, done. remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 0), reused 2 (delta 0), pack-reused 0
error: Could not read 3b3bee1952b8f8a14521cd605336fdce5085f0e6
fatal: Failed to traverse parents of commit 582a7d3c9012e63b03a611a04a86d7925776071a
error: remote did not send all necessary objects
manifests: sleeping 4.0 seconds before retrying
error: Could not read 3b3bee1952b8f8a14521cd605336fdce5085f0e6
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 0), reused 2 (delta 0), pack-reused 0
error: Could not read 3b3bee1952b8f8a14521cd605336fdce5085f0e6
fatal: Failed to traverse parents of commit 582a7d3c9012e63b03a611a04a86d7925776071a
error: remote did not send all necessary objects
fatal: cannot obtain manifest https://github.com/PixelExtended/manifest
~/pixelext $

I heard that it's obsolete now, but if it doesn't why does it not work?
I tried with other repos too, same result.

Peter Kjellerstedt

unread,
Jun 23, 2021, 8:41:35 AM6/23/21
to Prince Cooper, Repo and Gerrit Discussion

I can run repo init --depth=1 -u https://github.com/PixelExtended/manifest -b eleven && repo sync without problems.

 

//Peter

 

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/33e1c2ff-7da9-4e2b-b78f-576cbd44af9fn%40googlegroups.com.

Prince Cooper

unread,
Jun 23, 2021, 8:54:11 AM6/23/21
to Repo and Gerrit Discussion
I'm trying to use --reference tag here. According to repo's --help, it uses other rom's projects & reduces the sync time drastically.
Without it, works fine for me too...
I started this conversation just to confirm if reference works or not.
Reply all
Reply to author
Forward
0 new messages