Issue 2937: No new changes error after abandon and push to new branch
Status:  New
Owner: ----
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