repo sync fails with 'Not a git repository'

115 views
Skip to first unread message

Simon Glass

unread,
Dec 1, 2016, 12:36:21 PM12/1/16
to Chromium-dev
Hi,

I've tried removing things but I'm not sure how to fix this. Is there
a way to 'force' pulling down the mesa repository?

$ repo sync -l
Syncing work tree: 88% (367/417) fatal: index file smaller than expected
Syncing work tree: 92% (384/417) Traceback (most recent call last):
File "/home/sjg/c/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/sjg/c/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/sjg/c/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/home/sjg/c/.repo/repo/subcmds/sync.py", line 821, in Execute
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/home/sjg/c/.repo/repo/project.py", line 1363, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/home/sjg/c/.repo/repo/project.py", line 2501, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/sjg/c/.repo/repo/project.py", line 2700, in rev_list
(self._project.name, str(args), p.stderr))
error.GitError: chromiumos/third_party/mesa rev-list
('^129178893b2260df22db96327c5ca9c2ce7db046', 'HEAD', '--'): fatal:
Not a git repository (or any of the parent directories): .git

Regards,
Simon

Christian Biesinger

unread,
Dec 1, 2016, 12:41:42 PM12/1/16
to s...@google.com, chromium-dev

If this is chromium OS you may have better luck on chromiu...@chromium.org

Christian


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
    http://groups.google.com/a/chromium.org/group/chromium-dev

Simon Glass

unread,
Dec 1, 2016, 12:46:52 PM12/1/16
to Christian Biesinger, chromium-dev
Oops, thanks!

- Simon


On 1 December 2016 at 10:41, Christian Biesinger
Reply all
Reply to author
Forward
0 new messages