Add documentation of "commit already exists" error message

The "commit already exists" error is similar to "no new changes",
but occurs if the user tries to push to `refs/changes/n` when the
commit already exists on change `n`.

Change-Id: Ifc558d7adc59fb8df5690dfe879b7cc3574ff9f2
This commit is contained in:
David Pursehouse
2012-12-11 10:37:33 +09:00
parent 38fc567152
commit 11eebe6b6b
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
commit already exists
=====================
With this error message Gerrit rejects to push a commit to an
existing change via `refs/changes/n` if the commit was already
successfully pushed to the change. In this case there is no
new commit and consequently there is nothing for Gerrit to do.
For further information about how to resolve this error, please
refer to link:error-no-new-changes.html[no new changes].
GERRIT
------
Part of link:error-messages.html[Gerrit Error Messages]

View File

@@ -13,6 +13,7 @@ Error Messages
* link:error-change-closed.html[change ... closed]
* link:error-change-does-not-belong-to-project.html[change ... does not belong to project ...]
* link:error-change-not-found.html[change ... not found]
* link:error-commit-already-exists.html[commit already exists]
* link:error-contains-banned-commit.html[contains banned commit ...]
* link:error-has-duplicates.html[... has duplicates]
* link:error-invalid-author.html[invalid author]