Added explanation for "... has duplicates" error

Added a documentation page that explains the "... has duplicates"
error and what can be done to work around this problem.

Change-Id: I0346ad435a5f6cf7739268bd9076d66f4b119c3c
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin 2011-03-10 09:15:03 +01:00
parent 03fcb4f730
commit b32a4c50f0
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,24 @@
... has duplicates
==================
With this error message Gerrit rejects to push a commit if its commit
message contains a Change-ID for which multiple changes can be found
in the project.
This error means that there is an inconsistency in Gerrit since for
one project there are multiple changes that have the same Change-ID.
Every change is expected to have an unique Change-ID.
Since this error should never occur in practice, you should inform
your Gerrit administrator if you hit this problem and/or
link:http://code.google.com/p/gerrit/issues/list[open a Gerrit issue].
In any case to not be blocked with your work, you can simply create a
new Change-ID for your commit and then push it as new change to
Gerrit. How to exchange the Change-ID in the commit message of your
commit is explained link:error-push-fails-due-to-commit-message.html[here].
GERRIT
------
Part of link:error-messages.html[Gerrit Error Messages]

View File

@ -12,6 +12,7 @@ Error Messages
* link:error-branch-not-found.html[branch ... not found]
* link:error-change-closed.html[change ... closed]
* link:error-change-not-found.html[change ... not found]
* link:error-has-duplicates.html[... has duplicates]
* 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]