My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2937: No new changes error after abandon and push to new branch
3 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by nic...@eriksson.cc, Oct 2, 2014
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version: 2.9

What steps will reproduce the problem?
1. Push by mistake to wrong branch 'git push origin HEAD:refs/for/WrongBranch'
2. Realize error and abandon change from web ui.
3. Push to correct branch 'git push origin HEAD:refs/for/CorrectBranch'

What is the expected output? What do you see instead?
I would expect changes to be submitted for the correct branch but I receive "! [remote rejected] HEAD -> refs/for/CorrectBranch (no new changes)"

To be able to submit change for review i have to change the 'Change-ID' which is annoying and removes traceability...

Please provide any additional information below.
Gerrit: 2.9
Git: 1.9.0.msysgit.0
Sign in to add a comment

Powered by Google Project Hosting