Issues making an AOSP mirror

107 views
Skip to first unread message

David Linares

unread,
Dec 15, 2017, 10:35:33 AM12/15/17
to Android Building
Hi guys,

Hope this is the right group to post this issue.
Today, I am getting some errors when trying to make a mirror.
Here are the commands I use and the 2 repos that are giving me errors.


repo init 
-u https://android.googlesource.com/mirror/manifest --mirror
repo sync

...
error
: cannot update the ref 'refs/heads/test_upstream': Trying to write non-commit object c3de9cc854adee8d9d82cf6e72f4a12b90dba430 to branch refs/heads/test_upstream
From https://android.googlesource.com/platform/external/nanopb-c
 
! [new branch]      test_upstream -> test_upstream  (unable to update local ref)
error
: cannot update the ref 'refs/heads/upstream_0.3.8': Trying to write non-commit object c3de9cc854adee8d9d82cf6e72f4a12b90dba430 to branch refs/heads/upstream_0.3.8
 
! [new branch]      upstream_0.3.8 -> upstream_0.3.8  (unable to update local ref)
error
: cannot update the ref 'refs/heads/android-hikey-linaro-4.14': Trying to write non-commit object e3d97e8db5c45dfe3e4c70252acc5f4edea172b7 to branch refs/heads/android-hikey-linaro-4.14
From https://android.googlesource.com/kernel/hikey-linaro
 
! [new branch]      android-hikey-linaro-4.14 -> android-hikey-linaro-4.14  (unable to update local ref)
error
: Cannot fetch kernel/hikey-linaro
error
: Cannot fetch platform/external/nanopb-c

error
: Exited sync due to fetch errors


Is there anything I could do in the meantime to ignore these branches or repos?
Thanks a lot for your help.
Kind regards,

David

Yongqin Liu

unread,
Dec 20, 2017, 11:43:01 AM12/20/17
to Android Building


在 2017年12月15日星期五 UTC+8下午11:35:33,David Linares写道:
I worked around with following method:
rm -fr kernel/hikey-linaro.git
cd kernel

do the same thing for platform/external/nanopb-c project as well

Thanks,
Yongqin Liu
Reply all
Reply to author
Forward
0 new messages