error: failed to push some refs to 'https://chromium.googlesource.com/chromium/src.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Failed to push. If this persists, please file a bug.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
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
--
Fwiw, when I see the error message, I run 'git pull -rebase' and retry 'git cl land', sometimes multiple times to succeed. I guess it's because there are new commits landed by others in the remote repository after 'git pull --rebase' before 'git cl land'.
--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To post to this group, send email to infr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAATLsPZKsUqNy6NxjKGA8vjmHCNiwmPO2EjzrZ47hA5BzX7bqw%40mail.gmail.com.
+Andrii ShyshkalovThis has become more prevalent due to the change in how git-cl and Cr-Commit-Position numbers interact. It used to be that git-cl would create an invisible ref, copy your change there, and push it (rebasing and retrying multiple times if necessary) to the "pending ref" so that the Git Number Daemon could add the Cr-Commit-Position footer.
Now that Gerrit itself does that last step, git-cl just pushes your actual commit directly to master and lets all the magic happen there.
This means that git-cl has lost its "rapid rebase and retry" logic/loop, and so failures to push like this are more common.
On Fri, Feb 10, 2017 at 7:09 PM Aaron Gable <aga...@chromium.org> wrote:This means that git-cl has lost its "rapid rebase and retry" logic/loop, and so failures to push like this are more common.TBH, I deleted that loop together with prior "refs/pending" logic, because refactoring that loop into non-refs/pending flow was substantial work, and in fact that's what http://crbug.com/682934 is asking for.