Gerrit rejects my merge: [remote rejected] (prohibited by Gerrit) |
|||||
Issue descriptionI was added to chromium committers ~3 weeks ago. Merging cherry pick to M52, getting this error: Cherry-picking commit on top of pending ref... Pushing commit to refs/pending/branch-heads/2743... It can take a while. Push failed with exit code 1. To https://chromium.googlesource.com/chromium/src.git ! HEAD:refs/pending/branch-heads/2743 [remote rejected] (prohibited by Gerrit) Done Fatal push error. Make sure your .netrc credentials and git user.email are correct and you have push access to the repo. Failed to push. If this persists, please file a bug. Error: Command 'cl land --bypass-hooks' failed: Command '['git', 'cl', 'land', '--bypass-hooks']' returned non-zero exit status 1
,
Jun 24 2016
You weren't added to Gerrit's group of committers. Can you try again? And thanks for filing a bug.
,
Jun 24 2016
,
Jun 27 2016
Thanks a lot! I'll try next time I need a merge, now a colleague did it for me.
,
Jul 1 2016
Same problem again. What else can be wrong?
,
Jul 1 2016
tell me these things: a) cd <from where you run git push> && git config user.email ideally, it should be olka@chromium.org b) what's in your ~/.netrc or ~/.gitcookies for chromium.googlesource.com domain, DO NOT COPY_PASTE IT AS IS, because the last part is your secret token. Edit it out, and then paste for me to see. ideally, it should be smth like: machine chromium.googlesource.com login git-olka.chromium.org password XXXXXXXXXX
,
Jul 1 2016
a) yes b) ok, it's something weird: chromium.googlesource.com FALSE / TRUE [some number] o git-olka.webrtc.org=XXXXXXXXXXXXX and I also have this .googlesource.com TRUE / TRUE [some number] o git-olka.chromium.org=YYYYYYYYYYYYYYYYYYY
,
Jul 1 2016
Comment out webrtc line and the *.googlesource.com domain should be used, and you'd be able to commit. Can you try and LMK how it went?
,
Jul 1 2016
Thanks, I'll do it next time again - that merge is already committed by my colleague.
,
Jul 1 2016
,
Jul 1 2016
Unfortunately, I don't have a very good solution for you wrt to how to directly push to webrtc and to chromium at the same time. Perhaps manual comment before pushing into chromium can suffice for now? Or if you almost always use CQ to commit to webrtc, you can just keep the line commented, because fetching webrtc source can be done with chromium just fine.
,
Jul 1 2016
I see. Thank you! BTW what is the right symbol for commenting out? :)
,
Jul 1 2016
# this is a comment
,
Jul 1 2016
That was my guess. Thanks! |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by benhenry@google.com
, Jun 23 2016