From b32a4c50f085c7827710fa4943bfe30e1e5475e4 Mon Sep 17 00:00:00 2001 From: Edwin Kempin Date: Thu, 10 Mar 2011 09:15:03 +0100 Subject: [PATCH] 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 --- Documentation/error-has-duplicates.txt | 24 ++++++++++++++++++++++++ Documentation/error-messages.txt | 1 + 2 files changed, 25 insertions(+) create mode 100644 Documentation/error-has-duplicates.txt diff --git a/Documentation/error-has-duplicates.txt b/Documentation/error-has-duplicates.txt new file mode 100644 index 0000000000..e9e42f4104 --- /dev/null +++ b/Documentation/error-has-duplicates.txt @@ -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] diff --git a/Documentation/error-messages.txt b/Documentation/error-messages.txt index 795674b823..d864081350 100644 --- a/Documentation/error-messages.txt +++ b/Documentation/error-messages.txt @@ -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]