2019-12-13 10:42:46 +01:00
:linkattrs:
2013-12-20 12:55:51 -08:00
= change ... closed
2011-01-10 10:16:52 +01:00
2012-06-27 14:27:11 +09:00
With this error message Gerrit rejects to push a commit or submit a
review label (approval) to a change that is already closed.
2013-12-20 12:55:51 -08:00
== When Pushing a Commit
2011-01-10 10:16:52 +01:00
This error occurs if you are trying to push a commit that contains
the Change-Id of a closed change in its commit message. A change can
be closed either because it was already submitted and merged or
because it was abandoned.
If the change for which you wanted to upload a new patch set was
already submitted and merged you may want to push your commit as a
new change. To do this you have to remove the Change-Id from the
commit message as explained link:error-push-fails-due-to-commit-message.html[here] and ideally generate a new Change-Id
using the link:cmd-hook-commit-msg.html[commit hook] or EGit. Before pushing again it is also
2019-12-10 18:01:31 +01:00
recommended to do a link:http://www.kernel.org/pub/software/scm/git/docs/git-rebase.html[git rebase,role=external,window=_blank] to base your commit on the submitted
2011-01-10 10:16:52 +01:00
change. Pushing again should now create a new change in Gerrit.
If the change for which you wanted to upload a new patch set was
abandoned and your new changes overcome the reasons for abandoning
2014-05-02 17:21:02 +09:00
this change you may want to restore the change in the Gerrit Web UI
(browse the abandoned change in the Gerrit Web UI and click on the
2011-01-10 10:16:52 +01:00
'Restore Change' button). Afterwards the push should succeed and a
new patch set for this change will be created.
2013-12-20 12:55:51 -08:00
== When Submitting a Review Label
2012-06-27 14:27:11 +09:00
This error occurs if you are trying to submit a review label (approval) using
the link:cmd-review.html[ssh review command] after the change has been closed.
A change can be closed because it was submitted and merged, because it was abandoned,
or because the patchset to which you are submitting the review has been replaced
by a newer patchset.
2011-01-10 10:16:52 +01:00
GERRIT
------
Part of link:error-messages.html[Gerrit Error Messages]
2013-10-31 17:26:00 -07:00
SEARCHBOX
---------