added explanation for "change closed" error
Added a documentation page that explains the "change .. closed" error in details and what can be done to solve the problem. Signed-off-by: Edwin Kempin <edwin.kempin@gmail.com> Change-Id: I8380d4f37fd84060754cc721ab0724c3f87b1b74
This commit is contained in:
30
Documentation/error-change-closed.txt
Normal file
30
Documentation/error-change-closed.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
change ... closed
|
||||
=================
|
||||
|
||||
With this error message Gerrit rejects to push a commit to a change
|
||||
that is already closed.
|
||||
|
||||
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
|
||||
recommendable to do a link:http://www.kernel.org/pub/software/scm/git/docs/git-rebase.html[git rebase] to base your commit on the submitted
|
||||
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
|
||||
this change you may want to restore the change in the Gerrit WebUI
|
||||
(browse the abandoned change in the Gerrit WebUI and click on the
|
||||
'Restore Change' button). Afterwards the push should succeed and a
|
||||
new patch set for this change will be created.
|
||||
|
||||
|
||||
GERRIT
|
||||
------
|
||||
Part of link:error-messages.html[Gerrit Error Messages]
|
@@ -9,6 +9,7 @@ occurring and what can be done to solve it.
|
||||
Error Messages
|
||||
--------------
|
||||
|
||||
* link:error-change-closed.html[change ... closed]
|
||||
* link:error-invalid-changeid.html[invalid Change-Id line format in commit message]
|
||||
* link:error-missing-changeid.html[missing Change-Id in commit message]
|
||||
* link:error-multiple-changeid-lines.html[multiple Change-Id lines in commit message]
|
||||
|
Reference in New Issue
Block a user