error: 'cannot upload review' when repo upload

347 views
Skip to first unread message

mogujie...@gmail.com

unread,
May 11, 2017, 5:14:46 PM5/11/17
to Android Contributors
I want create a pull request to aosp ,but when I exec the command 'repo upload ',an exception occurred. the detail msg bellow:

['push', u'https://android-review.googlesource.com/platform/tools/base', u'refs/heads/fixDexRename:refs/for/refs/tags/gradle_2.3.0']
remote: Processing changes: refs: 1, done
 ! [remote rejected] fixDexRename -> refs/for/refs/tags/gradle_2.3.0 (cannot upload review)
remote: Processing changes: refs: 1, done
 ! [remote rejected] fixDexRename -> refs/for/refs/tags/gradle_2.3.0 (cannot upload review)

How can I solve this problem?

Thanks.

Brian Carlstrom

unread,
May 12, 2017, 2:25:08 AM5/12/17
to android...@googlegroups.com
Just a quick guess, did you setup authentication?

-bri

https://source.android.com/source/submit-patches

Authenticate with the server

Before you can upload to Gerrit, you need to establish a password that will identify you with the server. Follow the instructions on the password generator page. You need to do this only once. See Using Authentication for additional details.



--

---
You received this message because you are subscribed to the Google Groups "Android Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-contrib+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages