New issue
Advanced search Search tips

Issue 767936 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Gerrit tools get confused if you commit a patch to the master branch

Project Member Reported by dmazz...@chromium.org, Sep 22 2017

Issue description

I experienced some weird behavior with the following sequence:

1. Commit a patch to the master branch (accident!)
2. Start a new branch, set its upstream to master
3. Commit a patch to that new branch
4. Now use "git cl upload --gerrit" to try to upload that new branch to Gerrit

Error message is:

Created|Updated 2 issues on Gerrit, but only 1 expected.

It'd be nice if it could error out earlier than that, saying "hey, you have a commit on the master branch that we don't recognize upstream!"

 
Components: -Infra

Comment 2 by aga...@chromium.org, Oct 31 2017

Owner: aga...@chromium.org
Status: Fixed (was: Untriaged)
The git-cl tools don't care at all about a local branch named "master", they only know about the remote branch "origin/master". The error that you ran into is unrelated and was fixed weeks ago. Please update your depot_tools.

Sign in to add a comment