Problems uploading patch to android-review

94 views
Skip to first unread message

Edwin Vane

unread,
Mar 20, 2012, 8:42:45 AM3/20/12
to android...@googlegroups.com
Hi all,

I'm trying to upload my first patch to android-review. I've followed the instructions for getting the source, building, and now submitting a patch but when I run 'repo upload' I get this error:

XML error: not well-formed (invalid token)
fatal: git-http-push failed

Any suggestions?

Conley Owens

unread,
Mar 20, 2012, 12:00:50 PM3/20/12
to android...@googlegroups.com
Hi Edwin,

Did you edit the manifest file in .repo? I'm not sure where else you
would get an xml error. You could try running the `repo` init command
again and resyncing (you won't lose your projects so this sync won't
take as long as last time). This may fix the xml that's broken.

If you get too stuck, you can always run the git command directly
(within frameworks/base) git push git push
https://android-review.googlesource.com/p/platform/frameworks/base
HEAD:refs/for/master

~cco3

Edwin Vane

unread,
Mar 20, 2012, 3:30:12 PM3/20/12
to android...@googlegroups.com
Actually, while I was waiting for this post to be approved I did some more debugging. Even the underlying git command fails. I built my own version of git from source with debug symbols and it appears that the libcurl request to ask the server for DAV locking support is returning garbage. Perhaps it's encrypted content that's not being decrypted when it should be. I can actually send the curl request and libcurl reports the request succeeded so I can't see it being a proxy issue. Perhaps a libcurl bug?
Reply all
Reply to author
Forward
0 new messages