[Insight-developers] Gerrit: Failed to push (no new changes)

Bill Lorensen bill.lorensen at gmail.com
Mon Oct 18 10:46:22 EDT 2010


Marcus,

I created a topic branch, edited some files and removed some files. I
committed my changes and pushed to gerrit.

I noticed that my gerrit patch did not have the removed files. I guess
I had forgotten to commit them.

So, I abandoned that patch.

Then I committed the removed files and renamed the branch and tried to
push to gerrit.

I get this error:
$ git gerrit-push
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 712 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
To lorensen at review.source.kitware.com:ITK
 ! [remote rejected] HEAD ->
refs/for/master/RemoveOrientedImageExamples2 (no new changes)
error: failed to push some refs to 'lorensen at review.source.kitware.com:ITK'

But there are new changes. The second try has the removed files committed.

Help


More information about the Insight-developers mailing list