When I run into that particular error, my usual fix goes something like: cd into the failing repo (development in this case) git fetch --all cd back to the root
Do another repo sync Dave Hylands ----- Original Message ----- > From: "Konstantin Lepikhov" <[email protected]> > To: "dev-b2g" <[email protected]> > Sent: Saturday, May 11, 2013 7:13:38 AM > Subject: [b2g] Unable to sync repo for peak > > Greetings! > > I'm trying to build B2G for Peak phone but unable to sync repo. > Everything > fail at the end: > > $ REPO_TRACE=1 BRANCH=master ./config.sh peak > .... > > : cd /home/lakostis/work/B2G/development > : git rev-list ^39bccab69a794d79c01a6611930b7088b508b000 HEAD -- 1>| > 2>| > Traceback (most recent call last): > File "/home/lakostis/work/B2G/.repo/repo/main.py", line 414, in > <module> > _Main(sys.argv[1:]) > File "/home/lakostis/work/B2G/.repo/repo/main.py", line 390, in > _Main > result = repo._Run(argv) or 0 > File "/home/lakostis/work/B2G/.repo/repo/main.py", line 138, in > _Run > result = cmd.Execute(copts, cargs) > File "/home/lakostis/work/B2G/.repo/repo/subcmds/sync.py", line > 630, in Execute > project.Sync_LocalHalf(syncbuf) > File "/home/lakostis/work/B2G/.repo/repo/project.py", line 1086, in > Sync_LocalHalf > lost = self._revlist(not_rev(revid), HEAD) > File "/home/lakostis/work/B2G/.repo/repo/project.py", line 2006, in > _revlist > return self.work_git.rev_list(*a, **kw) > File "/home/lakostis/work/B2G/.repo/repo/project.py", line 2155, in > rev_list > p.stderr)) > error.GitError: platform/development rev-list > ('^39bccab69a794d79c01a6611930b7088b508b000', 'HEAD', '--'): > fatal: bad object HEAD > > Repo sync failed > > build host is ubuntu 12.04 x86_64 but the same results on ubuntu > 11.04. Looks like the development.git repo is > incomplete but I've tried to rm -rf development.git and checkout > again without a luck. Thanks in advance! > > -- > WBR et al. > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g > _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
