New issue
Advanced search Search tips

Issue 745059 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: ----



Sign in to add a comment

Gerrit: "git cl issue 0" did not disassociate branch from Gerrit issue.

Project Member Reported by isherman@chromium.org, Jul 17 2017

Issue description

(This is a follow-up to an issue I reported via email.)

I recently patched in a CL and tried to upload it to a new issue, but found it uploaded to the original issue instead.  Here are the commands that I ran:

git checkout -b holte origin
git cl patch 571438
git cl upload --rietveld --similarity=10
git cl upload --rietveld --similarity=5
git cl issue 0
git cl upload --gerrit --similarity=5

Output from the last two steps:

$ git cl issue 0
Loaded authentication cookies from /usr/local/google/home/isherman/.codereview_upload_cookies
WARNING: The change patched into this branch has a Change-Id. Removing it.
Issue number: None (None)

$ git cl upload --gerrit --similarity=5
Note: Saving similarity of 5% in git config.
WARNING: Change 571438 is owned by holte@chromium.org, but you authenticate to Gerrit as isherman@chromium.org.
Uploading may fail due to lack of permissions.
Press Enter to upload, or Ctrl+C to abort
 

Comment 1 by aga...@chromium.org, Jul 17 2017

Cc: aga...@chromium.org
Components: Infra>SDK
Labels: Milestone-Afterglow Proj-Gerrit-Migration
Owner: ----
Status: Available (was: Assigned)
Thanks for the report! I'll get to this as soon as I can.
Labels: -Milestone-Afterglow
Removing Milestone-Afterglow, as it has ceased to have meaning. More refined milestones may be added back in the near future.
Owner: aga...@chromium.org
Status: Fixed (was: Available)
I can't find the other bug at the moment, but this has been fixed. The problem was due to the Change-Id being left behind in the commit message. git-cl-issue 0 now removes the Change-Id.

Sign in to add a comment