Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

repo using local manifest does not work

Refference to the question here. I copy the manifest.xml to .repo and type:

repo init -m ./.repo/manifest.xml

And it does not work:

jack $ repo init -m ./.repo/manifest.xml 
fatal: manifest url (-u) is required.

I do provide manifest.xml. What is wrong?

like image 629
JACK M Avatar asked Apr 10 '13 12:04

JACK M


1 Answers

Here's what I did to make this work locally.

I moved manifest.xml to a separate location like ~/mymanifest/manifest.xml

I made that directory git-enabled by doing

cd ~/mymanifest
git init
git add manifest.xml
git commit -m "My local manifest"

Then I simply had to do repo init -u ~/mymanifest/ which worked in loading up the local manifest like it should!

like image 123
Irfan Avatar answered Oct 15 '22 12:10

Irfan