I recently started building from AOSP source. After a couple of months of builds I wanted to sync with AOSP, but when I tried to repo sync I got the errors below. All of my remotes have a master branch.
Any thoughts?
Fetching project platform/packages/apps/Protips
Fetching project device/asus/tilapia
Fetching projects: 98% (400/408) Fetching project platform/external/iptables
Fetching project platform/external/eclipse-basebuilder
Fetching project platform/external/naver-fonts
Fetching project platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6
Fetching projects: 99% (404/408) Fetching project platform/prebuilts/gcc/darwin-x86/host/headers
Fetching projects: 100% (408/408), done.
Traceback (most recent call last):
File "/home/upndwn4par/android/graviton/.repo/repo/main.py", line 500, in <module>
_Main(sys.argv[1:])
File "/home/upndwn4par/android/graviton/.repo/repo/main.py", line 476, in _Main
result = repo._Run(argv) or 0
File "/home/upndwn4par/android/graviton/.repo/repo/main.py", line 155, in _Run
result = cmd.Execute(copts, cargs)
File "/home/upndwn4par/android/graviton/.repo/repo/subcmds/sync.py", line 675, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/upndwn4par/android/graviton/.repo/repo/project.py", line 1223, in Sync_LocalHalf
if not branch.LocalMerge:
File "/home/upndwn4par/android/graviton/.repo/repo/git_config.py", line 696, in LocalMerge
return self.remote.ToLocal(self.merge)
File "/home/upndwn4par/android/graviton/.repo/repo/git_config.py", line 641, in ToLocal
raise GitError('remote %s does not have %s' % (
self.name, rev))
error.GitError: remote
https://github.com/upndwn4par/android_build.git does not have refs/heads/master
I found some similar issues discussed in the links below, but nothing that helped.
http://code.google.com/p/git-repo/issues/detail?id=149https://groups.google.com/forum/#!topic/repo-discuss/lTCtfZ5B8_4https://groups.google.com/forum/#!topic/repo-discuss/qXBILfjVV04