From 11eebe6b6b61ebd5afc42a7d6e17ceefc507af8b Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Tue, 11 Dec 2012 10:37:33 +0900 Subject: [PATCH] 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 --- Documentation/error-commit-already-exists.txt | 14 ++++++++++++++ Documentation/error-messages.txt | 1 + 2 files changed, 15 insertions(+) create mode 100644 Documentation/error-commit-already-exists.txt diff --git a/Documentation/error-commit-already-exists.txt b/Documentation/error-commit-already-exists.txt new file mode 100644 index 0000000000..dc32c4c1a1 --- /dev/null +++ b/Documentation/error-commit-already-exists.txt @@ -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] diff --git a/Documentation/error-messages.txt b/Documentation/error-messages.txt index af230e2f23..6685ea19fa 100644 --- a/Documentation/error-messages.txt +++ b/Documentation/error-messages.txt @@ -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]