git-repo icon indicating copy to clipboard operation
git-repo copied to clipboard

"fatal: manifest 'default.xml' not available" when exec repo init

Open tooyangtoonaive opened this issue 7 years ago • 5 comments

repo init -u xxxxxxx -b 7.0_trunk_k44

  • [new branch] xxxxxxxx fatal: manifest 'default.xml' not available fatal: error parsing manifest D:\workspace\7.0_trunk.repo\manifests\default.xml: syntax error: line 1, column 0

I found something. ls -l .repo/manifests/default.xml -rw-r--r-- 1 ZC 1049089 21 七月 28 10:43 .repo/manifests/default.xml

cat .repo/manifests/default.xml 7.0_trunk_k44

default.xml is not a symbollink

OS is win7 x64

tooyangtoonaive avatar Jul 28 '17 09:07 tooyangtoonaive

Did you try to use -m option to specify xml file in command line like:

repo init -u xxxxxxx -b 7.0_trunk_k44 -m versioned.xml

archersmind avatar Dec 21 '17 11:12 archersmind

You are prolly' missing something –if not all– in the <default> tag – I had the same issue which I solved adding it as:

    <default revision="master" remote="origin"/>

m4grio avatar May 02 '18 14:05 m4grio

Solved? I also encountered the same problem on the win10 environment

lhb11 avatar Feb 21 '19 02:02 lhb11

Solved? I also encountered the same problem on the ubuntu environment

AronJudge avatar Feb 27 '23 02:02 AronJudge

Solved? I also encountered the same problem on the ubuntu environment

xiao-ye66 avatar Jun 02 '23 03:06 xiao-ye66